OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "chrome/browser/lifetime/application_lifetime.h" | 9 #include "chrome/browser/lifetime/application_lifetime.h" |
10 #include "chrome/browser/ui/base_window.h" | 10 #include "chrome/browser/ui/base_window.h" |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 virtual void FocusToolbar() = 0; | 155 virtual void FocusToolbar() = 0; |
156 | 156 |
157 // Focuses the app menu like it was a menu bar. | 157 // Focuses the app menu like it was a menu bar. |
158 // | 158 // |
159 // Not used on the Mac, which has a "normal" menu bar. | 159 // Not used on the Mac, which has a "normal" menu bar. |
160 virtual void FocusAppMenu() = 0; | 160 virtual void FocusAppMenu() = 0; |
161 | 161 |
162 // Focuses the bookmarks toolbar (for accessibility). | 162 // Focuses the bookmarks toolbar (for accessibility). |
163 virtual void FocusBookmarksToolbar() = 0; | 163 virtual void FocusBookmarksToolbar() = 0; |
164 | 164 |
| 165 // Focuses an infobar, if shown (for accessibility). |
| 166 virtual void FocusInfobars() = 0; |
| 167 |
165 // Moves keyboard focus to the next pane. | 168 // Moves keyboard focus to the next pane. |
166 virtual void RotatePaneFocus(bool forwards) = 0; | 169 virtual void RotatePaneFocus(bool forwards) = 0; |
167 | 170 |
168 // Returns whether the bookmark bar is visible or not. | 171 // Returns whether the bookmark bar is visible or not. |
169 virtual bool IsBookmarkBarVisible() const = 0; | 172 virtual bool IsBookmarkBarVisible() const = 0; |
170 | 173 |
171 // Returns whether the bookmark bar is animating or not. | 174 // Returns whether the bookmark bar is animating or not. |
172 virtual bool IsBookmarkBarAnimating() const = 0; | 175 virtual bool IsBookmarkBarAnimating() const = 0; |
173 | 176 |
174 // Returns whether the tab strip is editable (for extensions). | 177 // Returns whether the tab strip is editable (for extensions). |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 390 |
388 // Returns the ToolbarView. | 391 // Returns the ToolbarView. |
389 virtual ToolbarView* GetToolbarView() const = 0; | 392 virtual ToolbarView* GetToolbarView() const = 0; |
390 #endif | 393 #endif |
391 | 394 |
392 protected: | 395 protected: |
393 virtual ~BrowserWindowTesting() {} | 396 virtual ~BrowserWindowTesting() {} |
394 }; | 397 }; |
395 | 398 |
396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 399 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |