diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 17:54:44 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-22 17:54:44 +0000 |
commit | 33a85f181bf099afe9067d50277ea0e85e35f302 (patch) | |
tree | 75b111393ef958b010c88ade0edba5fd3f811937 /ui/base/models/menu_model_delegate.h | |
parent | 55a7e5483376a196d3ba2f20ef56223d72f5a915 (diff) | |
download | chromium_src-33a85f181bf099afe9067d50277ea0e85e35f302.zip chromium_src-33a85f181bf099afe9067d50277ea0e85e35f302.tar.gz chromium_src-33a85f181bf099afe9067d50277ea0e85e35f302.tar.bz2 |
Lands http://codereview.chromium.org/2928005/ for Dill:
Loads favicons when openning back/forward menu for any urls that don't
have favicons.
BUG=5679
TEST=Restore a tab with a navigation history, check favicons.
Review URL: http://codereview.chromium.org/6708029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/models/menu_model_delegate.h')
-rw-r--r-- | ui/base/models/menu_model_delegate.h | 22 |
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_ |