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_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 #endif | 67 #endif |
68 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 68 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
69 virtual LocationBar* GetLocationBar() const OVERRIDE; | 69 virtual LocationBar* GetLocationBar() const OVERRIDE; |
70 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} | 70 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} |
71 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} | 71 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} |
72 virtual void UpdateToolbar(content::WebContents* contents, | 72 virtual void UpdateToolbar(content::WebContents* contents, |
73 bool should_restore_state) OVERRIDE {} | 73 bool should_restore_state) OVERRIDE {} |
74 virtual void FocusToolbar() OVERRIDE {} | 74 virtual void FocusToolbar() OVERRIDE {} |
75 virtual void FocusAppMenu() OVERRIDE {} | 75 virtual void FocusAppMenu() OVERRIDE {} |
76 virtual void FocusBookmarksToolbar() OVERRIDE {} | 76 virtual void FocusBookmarksToolbar() OVERRIDE {} |
| 77 virtual void FocusInfobars() OVERRIDE {} |
77 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} | 78 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} |
78 virtual void ShowAppMenu() OVERRIDE {} | 79 virtual void ShowAppMenu() OVERRIDE {} |
79 virtual bool PreHandleKeyboardEvent( | 80 virtual bool PreHandleKeyboardEvent( |
80 const content::NativeWebKeyboardEvent& event, | 81 const content::NativeWebKeyboardEvent& event, |
81 bool* is_keyboard_shortcut) OVERRIDE; | 82 bool* is_keyboard_shortcut) OVERRIDE; |
82 virtual void HandleKeyboardEvent( | 83 virtual void HandleKeyboardEvent( |
83 const content::NativeWebKeyboardEvent& event) OVERRIDE {} | 84 const content::NativeWebKeyboardEvent& event) OVERRIDE {} |
84 virtual void ShowCreateChromeAppShortcutsDialog( | 85 virtual void ShowCreateChromeAppShortcutsDialog( |
85 Profile* profile, | 86 Profile* profile, |
86 const extensions::Extension* app) OVERRIDE {} | 87 const extensions::Extension* app) OVERRIDE {} |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 }; | 150 }; |
150 | 151 |
151 namespace chrome { | 152 namespace chrome { |
152 | 153 |
153 // Helper that handle the lifetime of TestBrowserWindow instances. | 154 // Helper that handle the lifetime of TestBrowserWindow instances. |
154 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 155 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
155 | 156 |
156 } // namespace chrome | 157 } // namespace chrome |
157 | 158 |
158 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 159 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |