diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 22:30:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 22:30:16 +0000 |
commit | 70b45efc15674aa7241bbb95dc81b3019eac294b (patch) | |
tree | b4b8cae88b43ffb0a669cc7b50aabafa93506a02 /chrome/browser/views/toolbar_view.h | |
parent | cb71491f6fd9eb062ecbce3df5ca543c77652d91 (diff) | |
download | chromium_src-70b45efc15674aa7241bbb95dc81b3019eac294b.zip chromium_src-70b45efc15674aa7241bbb95dc81b3019eac294b.tar.gz chromium_src-70b45efc15674aa7241bbb95dc81b3019eac294b.tar.bz2 |
Port back_forward_menu_model to linux.
* Refactor BackForwardMenuModel.
- Create platform-specific subclasses that implement menu delegate interfaces
- Push almost all functionality into BackForwardMenuModel
* Implement GTK back/forward dropdowns (in MenuGtk and BrowserToolbarViewGtk)
Review URL: http://codereview.chromium.org/21440
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/toolbar_view.h')
-rw-r--r-- | chrome/browser/views/toolbar_view.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/views/toolbar_view.h b/chrome/browser/views/toolbar_view.h index 77a28a7..ff77107 100644 --- a/chrome/browser/views/toolbar_view.h +++ b/chrome/browser/views/toolbar_view.h @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H__ -#define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H__ +#ifndef CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ +#define CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ #include <vector> #include "base/ref_counted.h" #include "base/scoped_ptr.h" -#include "chrome/browser/back_forward_menu_model.h" +#include "chrome/browser/back_forward_menu_model_win.h" #include "chrome/browser/command_updater.h" #include "chrome/browser/encoding_menu_controller_delegate.h" #include "chrome/browser/user_data_manager.h" @@ -168,8 +168,8 @@ class BrowserToolbarView : public views::View, // accessibility focus. virtual void ShowContextMenu(int x, int y, bool is_mouse_gesture); - scoped_ptr<BackForwardMenuModel> back_menu_model_; - scoped_ptr<BackForwardMenuModel> forward_menu_model_; + scoped_ptr<BackForwardMenuModelWin> back_menu_model_; + scoped_ptr<BackForwardMenuModelWin> forward_menu_model_; // The model that contains the security level, text, icon to display... ToolbarModel* model_; @@ -209,4 +209,4 @@ class BrowserToolbarView : public views::View, DisplayMode display_mode_; }; -#endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H__ +#endif // CHROME_BROWSER_VIEWS_TOOLBAR_VIEW_H_ |