summaryrefslogtreecommitdiffstats
path: root/ui/base/models/menu_model_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/models/menu_model_delegate.h')
-rw-r--r--ui/base/models/menu_model_delegate.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/base/models/menu_model_delegate.h b/ui/base/models/menu_model_delegate.h
new file mode 100644
index 0000000..9516e59
--- /dev/null
+++ b/ui/base/models/menu_model_delegate.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2010 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_MENU_MODEL_DELEGATE_H_
+#define UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_
+#pragma once
+
+namespace ui {
+
+class MenuModelDelegate {
+ public:
+ // Invoked when an icon has been loaded from history.
+ virtual void OnIconChanged(int index) = 0;
+
+ protected:
+ virtual ~MenuModelDelegate() {}
+};
+
+} // namespace ui
+
+#endif // UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_