| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 PageActionImageView* CreatePageActionImageView( | 124 PageActionImageView* CreatePageActionImageView( |
| 125 LocationBarView* owner, | 125 LocationBarView* owner, |
| 126 ExtensionAction* action) override; | 126 ExtensionAction* action) override; |
| 127 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 127 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 128 override; | 128 override; |
| 129 void ShowWebsiteSettings( | 129 void ShowWebsiteSettings(content::WebContents* web_contents) override; |
| 130 content::WebContents* web_contents, | |
| 131 const GURL& virtual_url, | |
| 132 const security_state::SecurityInfo& security_info) override; | |
| 133 | 130 |
| 134 // CommandObserver: | 131 // CommandObserver: |
| 135 void EnabledStateChangedForCommand(int id, bool enabled) override; | 132 void EnabledStateChangedForCommand(int id, bool enabled) override; |
| 136 | 133 |
| 137 // views::ButtonListener: | 134 // views::ButtonListener: |
| 138 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 135 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 139 | 136 |
| 140 // content::NotificationObserver: | 137 // content::NotificationObserver: |
| 141 void Observe(int type, | 138 void Observe(int type, |
| 142 const content::NotificationSource& source, | 139 const content::NotificationSource& source, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 213 |
| 217 // The display mode used when laying out the toolbar. | 214 // The display mode used when laying out the toolbar. |
| 218 const DisplayMode display_mode_; | 215 const DisplayMode display_mode_; |
| 219 | 216 |
| 220 content::NotificationRegistrar registrar_; | 217 content::NotificationRegistrar registrar_; |
| 221 | 218 |
| 222 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 219 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 223 }; | 220 }; |
| 224 | 221 |
| 225 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 222 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |