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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 gfx::Rect GetBounds() const override; | 60 gfx::Rect GetBounds() const override; |
61 gfx::Size GetContentsSize() const override; | 61 gfx::Size GetContentsSize() const override; |
62 bool IsMaximized() const override; | 62 bool IsMaximized() const override; |
63 bool IsMinimized() const override; | 63 bool IsMinimized() const override; |
64 void Maximize() override {} | 64 void Maximize() override {} |
65 void Minimize() override {} | 65 void Minimize() override {} |
66 void Restore() override {} | 66 void Restore() override {} |
67 bool ShouldHideUIForFullscreen() const override; | 67 bool ShouldHideUIForFullscreen() const override; |
68 bool IsFullscreen() const override; | 68 bool IsFullscreen() const override; |
69 bool IsFullscreenBubbleVisible() const override; | 69 bool IsFullscreenBubbleVisible() const override; |
70 void ShowNewBackShortcutBubble(bool forward) override; | 70 void MaybeShowNewBackShortcutBubble(bool forward) override {} |
| 71 void HideNewBackShortcutBubble() override {} |
71 LocationBar* GetLocationBar() const override; | 72 LocationBar* GetLocationBar() const override; |
72 void SetFocusToLocationBar(bool select_all) override {} | 73 void SetFocusToLocationBar(bool select_all) override {} |
73 void UpdateReloadStopState(bool is_loading, bool force) override {} | 74 void UpdateReloadStopState(bool is_loading, bool force) override {} |
74 void UpdateToolbar(content::WebContents* contents) override {} | 75 void UpdateToolbar(content::WebContents* contents) override {} |
75 void ResetToolbarTabState(content::WebContents* contents) override {} | 76 void ResetToolbarTabState(content::WebContents* contents) override {} |
76 void FocusToolbar() override {} | 77 void FocusToolbar() override {} |
77 ToolbarActionsBar* GetToolbarActionsBar() override; | 78 ToolbarActionsBar* GetToolbarActionsBar() override; |
78 void ToolbarSizeChanged(bool is_animating) override {} | 79 void ToolbarSizeChanged(bool is_animating) override {} |
79 void FocusAppMenu() override {} | 80 void FocusAppMenu() override {} |
80 void FocusBookmarksToolbar() override {} | 81 void FocusBookmarksToolbar() override {} |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 203 |
203 namespace chrome { | 204 namespace chrome { |
204 | 205 |
205 // Helper that handle the lifetime of TestBrowserWindow instances. | 206 // Helper that handle the lifetime of TestBrowserWindow instances. |
206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
207 Browser::CreateParams* params); | 208 Browser::CreateParams* params); |
208 | 209 |
209 } // namespace chrome | 210 } // namespace chrome |
210 | 211 |
211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |