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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 virtual void WebContentsFocused(content::WebContents* contents) override {} | 129 virtual void WebContentsFocused(content::WebContents* contents) override {} |
130 virtual void ShowWebsiteSettings(Profile* profile, | 130 virtual void ShowWebsiteSettings(Profile* profile, |
131 content::WebContents* web_contents, | 131 content::WebContents* web_contents, |
132 const GURL& url, | 132 const GURL& url, |
133 const content::SSLStatus& ssl) override {} | 133 const content::SSLStatus& ssl) override {} |
134 virtual void Cut() override {} | 134 virtual void Cut() override {} |
135 virtual void Copy() override {} | 135 virtual void Copy() override {} |
136 virtual void Paste() override {} | 136 virtual void Paste() override {} |
137 #if defined(OS_MACOSX) | 137 #if defined(OS_MACOSX) |
138 virtual void EnterFullscreenWithChrome() override {} | 138 virtual void EnterFullscreenWithChrome() override {} |
| 139 virtual void EnterFullscreenWithoutChrome() override {} |
139 virtual bool IsFullscreenWithChrome() override; | 140 virtual bool IsFullscreenWithChrome() override; |
140 virtual bool IsFullscreenWithoutChrome() override; | 141 virtual bool IsFullscreenWithoutChrome() override; |
141 #endif | 142 #endif |
142 | 143 |
143 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 144 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
144 const gfx::Rect& bounds) override; | 145 const gfx::Rect& bounds) override; |
145 virtual FindBar* CreateFindBar() override; | 146 virtual FindBar* CreateFindBar() override; |
146 virtual web_modal::WebContentsModalDialogHost* | 147 virtual web_modal::WebContentsModalDialogHost* |
147 GetWebContentsModalDialogHost() override; | 148 GetWebContentsModalDialogHost() override; |
148 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 149 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 }; | 198 }; |
198 | 199 |
199 namespace chrome { | 200 namespace chrome { |
200 | 201 |
201 // Helper that handle the lifetime of TestBrowserWindow instances. | 202 // Helper that handle the lifetime of TestBrowserWindow instances. |
202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 203 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
203 | 204 |
204 } // namespace chrome | 205 } // namespace chrome |
205 | 206 |
206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |