blob: 42d15bdc0e0330575be91d7736f0c62f16ed82f3 [file] [log] [blame]
// Copyright 2013 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_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_
#define UI_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_
#include "base/observer_list_types.h"
#include "ui/base/ui_base_export.h"
namespace ui {
class ComboboxModel;
// Observer for the ComboboxModel.
class UI_BASE_EXPORT ComboboxModelObserver : public base::CheckedObserver {
public:
// Invoked when |model| has changed in some way. The observer should assume
// everything changed.
virtual void OnComboboxModelChanged(ComboboxModel* model) = 0;
protected:
~ComboboxModelObserver() override = default;
};
} // namespace ui
#endif // UI_BASE_MODELS_COMBOBOX_MODEL_OBSERVER_H_