// Copyright © 2026 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp.Callback
{
///
/// Implemented by the client to observe preference changes and registered via
/// . The methods of this class will
/// be called on the browser process UI thread.
///
public interface IPreferenceObserver : IDisposable
{
///
/// Called when a preference has changed. The new value can be retrieved using
/// .
///
/// preference key
void OnPreferenceChanged(string name);
}
}