Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Side by Side Diff: ui/base/models/menu_model_delegate.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/base/models/menu_model.cc ('k') | ui/base/models/menu_separator_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
6 #define UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
7
8 namespace ui {
9
10 class MenuModelDelegate {
11 public:
12 // Invoked when an icon has been loaded from history.
13 virtual void OnIconChanged(int index) = 0;
14
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() {}
18
19 protected:
20 virtual ~MenuModelDelegate() {}
21 };
22
23 } // namespace ui
24
25 #endif // UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/base/models/menu_model.cc ('k') | ui/base/models/menu_separator_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698