OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 bool SetPaneFocus(View* initial_focus) override; | 112 bool SetPaneFocus(View* initial_focus) override; |
113 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; | 113 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
114 | 114 |
115 // views::MenuButtonListener: | 115 // views::MenuButtonListener: |
116 void OnMenuButtonClicked(views::MenuButton* source, | 116 void OnMenuButtonClicked(views::MenuButton* source, |
117 const gfx::Point& point, | 117 const gfx::Point& point, |
118 const ui::Event* event) override; | 118 const ui::Event* event) override; |
119 | 119 |
120 // LocationBarView::Delegate: | 120 // LocationBarView::Delegate: |
121 content::WebContents* GetWebContents() override; | 121 content::WebContents* GetWebContents() override; |
| 122 const content::WebContents* GetWebContents() const override; |
122 ToolbarModel* GetToolbarModel() override; | 123 ToolbarModel* GetToolbarModel() override; |
123 const ToolbarModel* GetToolbarModel() const override; | 124 const ToolbarModel* GetToolbarModel() const override; |
124 PageActionImageView* CreatePageActionImageView( | 125 PageActionImageView* CreatePageActionImageView( |
125 LocationBarView* owner, | 126 LocationBarView* owner, |
126 ExtensionAction* action) override; | 127 ExtensionAction* action) override; |
127 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 128 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
128 override; | 129 override; |
129 void ShowWebsiteSettings( | 130 void ShowWebsiteSettings( |
130 content::WebContents* web_contents, | 131 content::WebContents* web_contents, |
131 const GURL& virtual_url, | 132 const GURL& virtual_url, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 217 |
217 // The display mode used when laying out the toolbar. | 218 // The display mode used when laying out the toolbar. |
218 const DisplayMode display_mode_; | 219 const DisplayMode display_mode_; |
219 | 220 |
220 content::NotificationRegistrar registrar_; | 221 content::NotificationRegistrar registrar_; |
221 | 222 |
222 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 223 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
223 }; | 224 }; |
224 | 225 |
225 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 226 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
OLD | NEW |