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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 virtual void ShowWebsiteSettings(Profile* profile, | 117 virtual void ShowWebsiteSettings(Profile* profile, |
118 content::WebContents* web_contents, | 118 content::WebContents* web_contents, |
119 const GURL& url, | 119 const GURL& url, |
120 const content::SSLStatus& ssl, | 120 const content::SSLStatus& ssl, |
121 bool show_history) OVERRIDE {} | 121 bool show_history) OVERRIDE {} |
122 virtual void Cut() OVERRIDE {} | 122 virtual void Cut() OVERRIDE {} |
123 virtual void Copy() OVERRIDE {} | 123 virtual void Copy() OVERRIDE {} |
124 virtual void Paste() OVERRIDE {} | 124 virtual void Paste() OVERRIDE {} |
125 #if defined(OS_MACOSX) | 125 #if defined(OS_MACOSX) |
126 virtual void OpenTabpose() OVERRIDE {} | 126 virtual void OpenTabpose() OVERRIDE {} |
127 virtual void EnterPresentationMode( | 127 virtual void EnterFullscreenWithChrome( |
128 const GURL& url, | 128 const GURL& url, |
129 FullscreenExitBubbleType bubble_type) OVERRIDE {} | 129 FullscreenExitBubbleType bubble_type) OVERRIDE {} |
130 virtual void ExitPresentationMode() OVERRIDE {} | 130 virtual bool IsFullscreenWithChrome() OVERRIDE; |
131 virtual bool InPresentationMode() OVERRIDE; | 131 virtual bool IsFullscreenWithoutChrome() OVERRIDE; |
132 #endif | 132 #endif |
133 | 133 |
134 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 134 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
135 virtual bool IsInstantTabShowing() OVERRIDE; | 135 virtual bool IsInstantTabShowing() OVERRIDE; |
136 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 136 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
137 const gfx::Rect& bounds) OVERRIDE; | 137 const gfx::Rect& bounds) OVERRIDE; |
138 virtual FindBar* CreateFindBar() OVERRIDE; | 138 virtual FindBar* CreateFindBar() OVERRIDE; |
139 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE; | 139 virtual bool GetConstrainedWindowTopY(int* top_y) OVERRIDE; |
140 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 140 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
141 const gfx::Rect& rect) OVERRIDE {} | 141 const gfx::Rect& rect) OVERRIDE {} |
(...skipping 15 matching lines...) Expand all Loading... |
157 | 157 |
158 namespace chrome { | 158 namespace chrome { |
159 | 159 |
160 // Helpers that handle the lifetime of TestBrowserWindow instances. | 160 // Helpers that handle the lifetime of TestBrowserWindow instances. |
161 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); | 161 Browser* CreateBrowserWithTestWindowForProfile(Profile* profile); |
162 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 162 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
163 | 163 |
164 } // namespace chrome | 164 } // namespace chrome |
165 | 165 |
166 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 166 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |