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