blob: 2b3210f733d6697a51bbb8b950faae52dbcbb9d2 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_DIALOG_DIALOG_OBSERVER_H_
#define UI_VIEWS_WINDOW_DIALOG_DIALOG_OBSERVER_H_
#include "ui/views/views_export.h"
namespace views {
// Allows properties on a DialogDelegate to be observed.
class VIEWS_EXPORT DialogObserver {
public:
// Invoked when a dialog signals a model change. E.g., the enabled buttons, or
// the button titles.
virtual void OnDialogChanged() = 0;
};
} // namespace views
#endif // UI_VIEWS_WINDOW_DIALOG_DIALOG_OBSERVER_H_