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

Unified Diff: ui/base/models/menu_model_delegate.h

Issue 2928005: Retrieve favicons from history as NavigationEntries are converted from TabNav... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Updated to compile against trunk. Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/models/menu_model_delegate.h
diff --git a/ui/base/models/menu_model_delegate.h b/ui/base/models/menu_model_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..e0316388bda47c55ce31e57b4220c486aacff24e
--- /dev/null
+++ b/ui/base/models/menu_model_delegate.h
@@ -0,0 +1,21 @@
+// 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) {}
+ protected:
+ virtual ~MenuModelDelegate() {}
+};
+
+} // namespace ui
+
+#endif // UI_BASE_MODELS_MENU_MODEL_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698