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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 void UpdateExclusiveAccessExitBubbleContent( | 69 void UpdateExclusiveAccessExitBubbleContent( |
70 const GURL& url, | 70 const GURL& url, |
71 ExclusiveAccessBubbleType bubble_type) override {} | 71 ExclusiveAccessBubbleType bubble_type) override {} |
72 bool ShouldHideUIForFullscreen() const override; | 72 bool ShouldHideUIForFullscreen() const override; |
73 bool IsFullscreen() const override; | 73 bool IsFullscreen() const override; |
74 bool IsFullscreenBubbleVisible() const override; | 74 bool IsFullscreenBubbleVisible() const override; |
75 bool SupportsFullscreenWithToolbar() const override; | 75 bool SupportsFullscreenWithToolbar() const override; |
76 void UpdateFullscreenWithToolbar(bool with_toolbar) override; | 76 void UpdateFullscreenWithToolbar(bool with_toolbar) override; |
77 bool IsFullscreenWithToolbar() const override; | 77 bool IsFullscreenWithToolbar() const override; |
78 #if defined(OS_WIN) | 78 #if defined(OS_WIN) |
79 virtual void SetMetroSnapMode(bool enable) override {} | 79 void SetMetroSnapMode(bool enable) override {} |
80 virtual bool IsInMetroSnapMode() const override; | 80 bool IsInMetroSnapMode() const override; |
81 #endif | 81 #endif |
82 LocationBar* GetLocationBar() const override; | 82 LocationBar* GetLocationBar() const override; |
83 void SetFocusToLocationBar(bool select_all) override {} | 83 void SetFocusToLocationBar(bool select_all) override {} |
84 void UpdateReloadStopState(bool is_loading, bool force) override {} | 84 void UpdateReloadStopState(bool is_loading, bool force) override {} |
85 void UpdateToolbar(content::WebContents* contents) override {} | 85 void UpdateToolbar(content::WebContents* contents) override {} |
86 void ResetToolbarTabState(content::WebContents* contents) override {} | 86 void ResetToolbarTabState(content::WebContents* contents) override {} |
87 void FocusToolbar() override {} | 87 void FocusToolbar() override {} |
88 void ToolbarSizeChanged(bool is_animating) override {} | 88 void ToolbarSizeChanged(bool is_animating) override {} |
89 void FocusAppMenu() override {} | 89 void FocusAppMenu() override {} |
90 void FocusBookmarksToolbar() override {} | 90 void FocusBookmarksToolbar() override {} |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 }; | 192 }; |
193 | 193 |
194 namespace chrome { | 194 namespace chrome { |
195 | 195 |
196 // Helper that handle the lifetime of TestBrowserWindow instances. | 196 // Helper that handle the lifetime of TestBrowserWindow instances. |
197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
198 | 198 |
199 } // namespace chrome | 199 } // namespace chrome |
200 | 200 |
201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |