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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
10 #include "chrome/browser/ui/base_window.h" | 10 #include "chrome/browser/ui/base_window.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 virtual void FocusToolbar() = 0; | 151 virtual void FocusToolbar() = 0; |
152 | 152 |
153 // Focuses the app menu like it was a menu bar. | 153 // Focuses the app menu like it was a menu bar. |
154 // | 154 // |
155 // Not used on the Mac, which has a "normal" menu bar. | 155 // Not used on the Mac, which has a "normal" menu bar. |
156 virtual void FocusAppMenu() = 0; | 156 virtual void FocusAppMenu() = 0; |
157 | 157 |
158 // Focuses the bookmarks toolbar (for accessibility). | 158 // Focuses the bookmarks toolbar (for accessibility). |
159 virtual void FocusBookmarksToolbar() = 0; | 159 virtual void FocusBookmarksToolbar() = 0; |
160 | 160 |
161 // Focuses the Chrome OS status view (for accessibility). | |
162 virtual void FocusChromeOSStatus() = 0; | |
163 | |
164 // Moves keyboard focus to the next pane. | 161 // Moves keyboard focus to the next pane. |
165 virtual void RotatePaneFocus(bool forwards) = 0; | 162 virtual void RotatePaneFocus(bool forwards) = 0; |
166 | 163 |
167 // Returns whether the bookmark bar is visible or not. | 164 // Returns whether the bookmark bar is visible or not. |
168 virtual bool IsBookmarkBarVisible() const = 0; | 165 virtual bool IsBookmarkBarVisible() const = 0; |
169 | 166 |
170 // Returns whether the bookmark bar is animating or not. | 167 // Returns whether the bookmark bar is animating or not. |
171 virtual bool IsBookmarkBarAnimating() const = 0; | 168 virtual bool IsBookmarkBarAnimating() const = 0; |
172 | 169 |
173 // Returns whether the tab strip is editable (for extensions). | 170 // Returns whether the tab strip is editable (for extensions). |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 | 396 |
400 // Returns the ToolbarView. | 397 // Returns the ToolbarView. |
401 virtual ToolbarView* GetToolbarView() const = 0; | 398 virtual ToolbarView* GetToolbarView() const = 0; |
402 #endif | 399 #endif |
403 | 400 |
404 protected: | 401 protected: |
405 virtual ~BrowserWindowTesting() {} | 402 virtual ~BrowserWindowTesting() {} |
406 }; | 403 }; |
407 | 404 |
408 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 405 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |