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