| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "base/prefs/pref_member.h" | 10 #include "base/prefs/pref_member.h" |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 views::Widget* CreateViewsBubble( | 113 views::Widget* CreateViewsBubble( |
| 114 views::BubbleDelegateView* bubble_delegate) override; | 114 views::BubbleDelegateView* bubble_delegate) override; |
| 115 PageActionImageView* CreatePageActionImageView( | 115 PageActionImageView* CreatePageActionImageView( |
| 116 LocationBarView* owner, | 116 LocationBarView* owner, |
| 117 ExtensionAction* action) override; | 117 ExtensionAction* action) override; |
| 118 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() | 118 ContentSettingBubbleModelDelegate* GetContentSettingBubbleModelDelegate() |
| 119 override; | 119 override; |
| 120 void ShowWebsiteSettings( | 120 void ShowWebsiteSettings( |
| 121 content::WebContents* web_contents, | 121 content::WebContents* web_contents, |
| 122 const GURL& url, | 122 const GURL& url, |
| 123 const SecurityStateModel::SecurityInfo& security_info) override; | 123 const security_state::SecurityStateModel::SecurityInfo& security_info) |
| 124 override; |
| 124 | 125 |
| 125 // CommandObserver: | 126 // CommandObserver: |
| 126 void EnabledStateChangedForCommand(int id, bool enabled) override; | 127 void EnabledStateChangedForCommand(int id, bool enabled) override; |
| 127 | 128 |
| 128 // views::ButtonListener: | 129 // views::ButtonListener: |
| 129 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 130 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 130 | 131 |
| 131 // views::WidgetObserver: | 132 // views::WidgetObserver: |
| 132 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; | 133 void OnWidgetActivationChanged(views::Widget* widget, bool active) override; |
| 133 | 134 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 218 |
| 218 // The display mode used when laying out the toolbar. | 219 // The display mode used when laying out the toolbar. |
| 219 DisplayMode display_mode_; | 220 DisplayMode display_mode_; |
| 220 | 221 |
| 221 content::NotificationRegistrar registrar_; | 222 content::NotificationRegistrar registrar_; |
| 222 | 223 |
| 223 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 224 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 224 }; | 225 }; |
| 225 | 226 |
| 226 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 227 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |