| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 views::MenuButton* app_menu() const { return app_menu_; } | 88 views::MenuButton* app_menu() const { return app_menu_; } |
| 89 | 89 |
| 90 // Overridden from AccessiblePaneView | 90 // Overridden from AccessiblePaneView |
| 91 virtual bool SetPaneFocus(int view_storage_id, View* initial_focus) OVERRIDE; | 91 virtual bool SetPaneFocus(int view_storage_id, View* initial_focus) OVERRIDE; |
| 92 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 92 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 93 | 93 |
| 94 // Overridden from views::MenuDelegate: | 94 // Overridden from views::MenuDelegate: |
| 95 virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE; | 95 virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE; |
| 96 | 96 |
| 97 // Overridden from LocationBarView::Delegate: | 97 // Overridden from LocationBarView::Delegate: |
| 98 virtual TabContentsWrapper* GetTabContentsWrapper() OVERRIDE; | 98 virtual TabContentsWrapper* GetTabContentsWrapper() const OVERRIDE; |
| 99 virtual InstantController* GetInstant() OVERRIDE; | 99 virtual InstantController* GetInstant() OVERRIDE; |
| 100 virtual void OnInputInProgress(bool in_progress) OVERRIDE; | 100 virtual void OnInputInProgress(bool in_progress) OVERRIDE; |
| 101 | 101 |
| 102 // Overridden from CommandUpdater::CommandObserver: | 102 // Overridden from CommandUpdater::CommandObserver: |
| 103 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; | 103 virtual void EnabledStateChangedForCommand(int id, bool enabled) OVERRIDE; |
| 104 | 104 |
| 105 // Overridden from views::BaseButton::ButtonListener: | 105 // Overridden from views::BaseButton::ButtonListener: |
| 106 virtual void ButtonPressed(views::Button* sender, const views::Event& event) | 106 virtual void ButtonPressed(views::Button* sender, const views::Event& event) |
| 107 OVERRIDE; | 107 OVERRIDE; |
| 108 | 108 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 // If non-null the destructor sets this to true. This is set to a non-null | 226 // If non-null the destructor sets this to true. This is set to a non-null |
| 227 // while the menu is showing and used to detect if the menu was deleted while | 227 // while the menu is showing and used to detect if the menu was deleted while |
| 228 // running. | 228 // running. |
| 229 bool* destroyed_flag_; | 229 bool* destroyed_flag_; |
| 230 | 230 |
| 231 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 231 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ | 234 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_VIEW_H_ |
| OLD | NEW |