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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual LocationBar* GetLocationBar() const OVERRIDE; | 59 virtual LocationBar* GetLocationBar() const OVERRIDE; |
60 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} | 60 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} |
61 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} | 61 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} |
62 virtual void UpdateToolbar(TabContentsWrapper* contents, | 62 virtual void UpdateToolbar(TabContentsWrapper* contents, |
63 bool should_restore_state) OVERRIDE {} | 63 bool should_restore_state) OVERRIDE {} |
64 virtual void FocusToolbar() OVERRIDE {} | 64 virtual void FocusToolbar() OVERRIDE {} |
65 virtual void FocusAppMenu() OVERRIDE {} | 65 virtual void FocusAppMenu() OVERRIDE {} |
66 virtual void FocusBookmarksToolbar() OVERRIDE {} | 66 virtual void FocusBookmarksToolbar() OVERRIDE {} |
67 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} | 67 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} |
68 virtual void ShowAppMenu() OVERRIDE {} | 68 virtual void ShowAppMenu() OVERRIDE {} |
69 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 69 virtual bool PreHandleKeyboardEvent( |
70 bool* is_keyboard_shortcut) OVERRIDE; | 70 const content::NativeWebKeyboardEvent& event, |
| 71 bool* is_keyboard_shortcut) OVERRIDE; |
71 virtual void HandleKeyboardEvent( | 72 virtual void HandleKeyboardEvent( |
72 const NativeWebKeyboardEvent& event) OVERRIDE {} | 73 const content::NativeWebKeyboardEvent& event) OVERRIDE {} |
73 virtual void ShowCreateWebAppShortcutsDialog( | 74 virtual void ShowCreateWebAppShortcutsDialog( |
74 TabContentsWrapper* tab_contents) OVERRIDE {} | 75 TabContentsWrapper* tab_contents) OVERRIDE {} |
75 virtual void ShowCreateChromeAppShortcutsDialog( | 76 virtual void ShowCreateChromeAppShortcutsDialog( |
76 Profile* profile, | 77 Profile* profile, |
77 const Extension* app) OVERRIDE {} | 78 const Extension* app) OVERRIDE {} |
78 | 79 |
79 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 80 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
80 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 81 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
81 virtual bool IsTabStripEditable() const OVERRIDE; | 82 virtual bool IsTabStripEditable() const OVERRIDE; |
82 virtual bool IsToolbarVisible() const OVERRIDE; | 83 virtual bool IsToolbarVisible() const OVERRIDE; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 protected: | 138 protected: |
138 virtual void DestroyBrowser() OVERRIDE {} | 139 virtual void DestroyBrowser() OVERRIDE {} |
139 | 140 |
140 private: | 141 private: |
141 TestLocationBar location_bar_; | 142 TestLocationBar location_bar_; |
142 | 143 |
143 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 144 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
144 }; | 145 }; |
145 | 146 |
146 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 147 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |