910e62b5创建于 1月15日历史提交
// Copyright 2017 The Chromium Authors
// 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_OBSERVER_H_
#define UI_VIEWS_WINDOW_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_OBSERVER_H_