OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual bool SetPaneFocus(View* initial_focus) OVERRIDE; | 86 virtual bool SetPaneFocus(View* initial_focus) OVERRIDE; |
87 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 87 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
88 | 88 |
89 // Overridden from views::MenuButtonListener: | 89 // Overridden from views::MenuButtonListener: |
90 virtual void OnMenuButtonClicked(views::View* source, | 90 virtual void OnMenuButtonClicked(views::View* source, |
91 const gfx::Point& point) OVERRIDE; | 91 const gfx::Point& point) OVERRIDE; |
92 | 92 |
93 // Overridden from LocationBarView::Delegate: | 93 // Overridden from LocationBarView::Delegate: |
94 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; | 94 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; |
95 virtual InstantController* GetInstant() OVERRIDE; | 95 virtual InstantController* GetInstant() OVERRIDE; |
| 96 virtual views::Widget* CreateViewsBubble( |
| 97 views::BubbleDelegateView* bubble_delegate) OVERRIDE; |
| 98 virtual PageActionImageView* CreatePageActionImageView( |
| 99 LocationBarView* owner, ExtensionAction* action) OVERRIDE; |
| 100 virtual ContentSettingBubbleModelDelegate* |
| 101 GetContentSettingBubbleModelDelegate() OVERRIDE; |
| 102 virtual void ShowPageInfo(content::WebContents* web_contents, |
| 103 const GURL& url, |
| 104 const content::SSLStatus& ssl, |
| 105 bool show_history) OVERRIDE; |
96 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 106 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
97 | 107 |
98 // Overridden from CommandUpdater::CommandObserver: | 108 // Overridden from CommandUpdater::CommandObserver: |
99 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; | 109 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; |
100 | 110 |
101 // Overridden from views::ButtonListener: | 111 // Overridden from views::ButtonListener: |
102 virtual void ButtonPressed(views::Button* sender, | 112 virtual void ButtonPressed(views::Button* sender, |
103 const views::Event& event) OVERRIDE; | 113 const views::Event& event) OVERRIDE; |
104 | 114 |
105 // Overridden from content::NotificationObserver: | 115 // Overridden from content::NotificationObserver: |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 | 213 |
204 // A list of listeners to call when the menu opens. | 214 // A list of listeners to call when the menu opens. |
205 ObserverList<views::MenuListener> menu_listeners_; | 215 ObserverList<views::MenuListener> menu_listeners_; |
206 | 216 |
207 content::NotificationRegistrar registrar_; | 217 content::NotificationRegistrar registrar_; |
208 | 218 |
209 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 219 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
210 }; | 220 }; |
211 | 221 |
212 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 222 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
OLD | NEW |