| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 ToolbarModel* GetToolbarModel() override; | 127 ToolbarModel* GetToolbarModel() override; |
| 128 const ToolbarModel* GetToolbarModel() const override; | 128 const ToolbarModel* GetToolbarModel() const override; |
| 129 PageActionImageView* CreatePageActionImageView( | 129 PageActionImageView* CreatePageActionImageView( |
| 130 LocationBarView* owner, | 130 LocationBarView* owner, |
| 131 ExtensionAction* action) override; | 131 ExtensionAction* action) override; |
| 132 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 132 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 133 override; | 133 override; |
| 134 void ShowWebsiteSettings( | 134 void ShowWebsiteSettings( |
| 135 content::WebContents* web_contents, | 135 content::WebContents* web_contents, |
| 136 const GURL& virtual_url, | 136 const GURL& virtual_url, |
| 137 const security_state::SecurityStateModel::SecurityInfo& security_info) | 137 const security_state::SecurityInfo& security_info) override; |
| 138 override; | |
| 139 | 138 |
| 140 // CommandObserver: | 139 // CommandObserver: |
| 141 void EnabledStateChangedForCommand(int id, bool enabled) override; | 140 void EnabledStateChangedForCommand(int id, bool enabled) override; |
| 142 | 141 |
| 143 // views::ButtonListener: | 142 // views::ButtonListener: |
| 144 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 143 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 145 | 144 |
| 146 // content::NotificationObserver: | 145 // content::NotificationObserver: |
| 147 void Observe(int type, | 146 void Observe(int type, |
| 148 const content::NotificationSource& source, | 147 const content::NotificationSource& source, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 221 |
| 223 // The display mode used when laying out the toolbar. | 222 // The display mode used when laying out the toolbar. |
| 224 const DisplayMode display_mode_; | 223 const DisplayMode display_mode_; |
| 225 | 224 |
| 226 content::NotificationRegistrar registrar_; | 225 content::NotificationRegistrar registrar_; |
| 227 | 226 |
| 228 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 227 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 229 }; | 228 }; |
| 230 | 229 |
| 231 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 230 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |