1 // Copyright (c) 2010 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.
5 #ifndef UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
6 #define UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
10 class MenuModelDelegate
{
12 // Invoked when an icon has been loaded from history.
13 virtual void OnIconChanged(int index
) = 0;
15 // Invoked after items in |MenuModel| have been removed and/or added,
16 // delegate should assume the entire contents of the model has changed.
17 virtual void OnMenuStructureChanged() {}
20 virtual ~MenuModelDelegate() {}
25 #endif // UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_