| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 content::WebContents* GetWebContents() override; | 113 content::WebContents* GetWebContents() override; |
| 114 ToolbarModel* GetToolbarModel() override; | 114 ToolbarModel* GetToolbarModel() override; |
| 115 const ToolbarModel* GetToolbarModel() const override; | 115 const ToolbarModel* GetToolbarModel() const override; |
| 116 PageActionImageView* CreatePageActionImageView( | 116 PageActionImageView* CreatePageActionImageView( |
| 117 LocationBarView* owner, | 117 LocationBarView* owner, |
| 118 ExtensionAction* action) override; | 118 ExtensionAction* action) override; |
| 119 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 119 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 120 override; | 120 override; |
| 121 void ShowWebsiteSettings( | 121 void ShowWebsiteSettings( |
| 122 content::WebContents* web_contents, | 122 content::WebContents* web_contents, |
| 123 const GURL& url, | 123 const GURL& virtual_url, |
| 124 const security_state::SecurityStateModel::SecurityInfo& security_info) | 124 const security_state::SecurityStateModel::SecurityInfo& security_info) |
| 125 override; | 125 override; |
| 126 | 126 |
| 127 // CommandObserver: | 127 // CommandObserver: |
| 128 void EnabledStateChangedForCommand(int id, bool enabled) override; | 128 void EnabledStateChangedForCommand(int id, bool enabled) override; |
| 129 | 129 |
| 130 // views::ButtonListener: | 130 // views::ButtonListener: |
| 131 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 131 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 132 | 132 |
| 133 // content::NotificationObserver: | 133 // content::NotificationObserver: |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 // The display mode used when laying out the toolbar. | 216 // The display mode used when laying out the toolbar. |
| 217 const DisplayMode display_mode_; | 217 const DisplayMode display_mode_; |
| 218 | 218 |
| 219 content::NotificationRegistrar registrar_; | 219 content::NotificationRegistrar registrar_; |
| 220 | 220 |
| 221 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 221 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 224 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |