| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 ToolbarModel* GetToolbarModel() override; | 122 ToolbarModel* GetToolbarModel() override; |
| 123 const ToolbarModel* GetToolbarModel() const override; | 123 const ToolbarModel* GetToolbarModel() const override; |
| 124 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 124 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 125 override; | 125 override; |
| 126 void ShowWebsiteSettings(content::WebContents* web_contents) override; | 126 void ShowPageInfo(content::WebContents* web_contents) override; |
| 127 | 127 |
| 128 // CommandObserver: | 128 // CommandObserver: |
| 129 void EnabledStateChangedForCommand(int id, bool enabled) override; | 129 void EnabledStateChangedForCommand(int id, bool enabled) override; |
| 130 | 130 |
| 131 // views::ButtonListener: | 131 // views::ButtonListener: |
| 132 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 132 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 133 | 133 |
| 134 // content::NotificationObserver: | 134 // content::NotificationObserver: |
| 135 void Observe(int type, | 135 void Observe(int type, |
| 136 const content::NotificationSource& source, | 136 const content::NotificationSource& source, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 // The display mode used when laying out the toolbar. | 211 // The display mode used when laying out the toolbar. |
| 212 const DisplayMode display_mode_; | 212 const DisplayMode display_mode_; |
| 213 | 213 |
| 214 content::NotificationRegistrar registrar_; | 214 content::NotificationRegistrar registrar_; |
| 215 | 215 |
| 216 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 216 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 217 }; | 217 }; |
| 218 | 218 |
| 219 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 219 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |