| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 ReloadButton* reload_button() const { return reload_; } | 108 ReloadButton* reload_button() const { return reload_; } |
| 109 LocationBarView* location_bar() const { return location_bar_; } | 109 LocationBarView* location_bar() const { return location_bar_; } |
| 110 AppMenuButton* app_menu_button() const { return app_menu_button_; } | 110 AppMenuButton* app_menu_button() const { return app_menu_button_; } |
| 111 HomeButton* home_button() const { return home_; } | 111 HomeButton* home_button() const { return home_; } |
| 112 AppMenuIconController* app_menu_icon_controller() { | 112 AppMenuIconController* app_menu_icon_controller() { |
| 113 return &app_menu_icon_controller_; | 113 return &app_menu_icon_controller_; |
| 114 } | 114 } |
| 115 | 115 |
| 116 // AccessiblePaneView: | 116 // AccessiblePaneView: |
| 117 bool SetPaneFocus(View* initial_focus) override; | 117 bool SetPaneFocus(View* initial_focus) override; |
| 118 void GetAccessibleState(ui::AXViewState* state) override; | 118 void GetAccessibleNodeData(ui::AXNodeData* node_data) override; |
| 119 | 119 |
| 120 // views::MenuButtonListener: | 120 // views::MenuButtonListener: |
| 121 void OnMenuButtonClicked(views::MenuButton* source, | 121 void OnMenuButtonClicked(views::MenuButton* source, |
| 122 const gfx::Point& point, | 122 const gfx::Point& point, |
| 123 const ui::Event* event) override; | 123 const ui::Event* event) override; |
| 124 | 124 |
| 125 // LocationBarView::Delegate: | 125 // LocationBarView::Delegate: |
| 126 content::WebContents* GetWebContents() override; | 126 content::WebContents* GetWebContents() override; |
| 127 ToolbarModel* GetToolbarModel() override; | 127 ToolbarModel* GetToolbarModel() override; |
| 128 const ToolbarModel* GetToolbarModel() const override; | 128 const ToolbarModel* GetToolbarModel() const override; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 // The display mode used when laying out the toolbar. | 223 // The display mode used when laying out the toolbar. |
| 224 const DisplayMode display_mode_; | 224 const DisplayMode display_mode_; |
| 225 | 225 |
| 226 content::NotificationRegistrar registrar_; | 226 content::NotificationRegistrar registrar_; |
| 227 | 227 |
| 228 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 228 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 231 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |