• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_
6 #define UI_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_
7 
8 #include "ui/base/ui_export.h"
9 
10 namespace ui {
11 
12 // Observer for the ComboboxModel.
13 class UI_EXPORT ComboboxModelObserver {
14  public:
15   // Invoked when the model has changed in some way. The observer should assume
16   // everything changed.
17   virtual void OnModelChanged() = 0;
18 
19  protected:
~ComboboxModelObserver()20   virtual ~ComboboxModelObserver() {}
21 };
22 
23 }  // namespace ui
24 
25 #endif  // UI_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_
26