| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const GURL& url, | 133 const GURL& url, |
| 134 const content::SSLStatus& ssl) override {} | 134 const content::SSLStatus& ssl) override {} |
| 135 void Cut() override {} | 135 void Cut() override {} |
| 136 void Copy() override {} | 136 void Copy() override {} |
| 137 void Paste() override {} | 137 void Paste() override {} |
| 138 WindowOpenDisposition GetDispositionForPopupBounds( | 138 WindowOpenDisposition GetDispositionForPopupBounds( |
| 139 const gfx::Rect& bounds) override; | 139 const gfx::Rect& bounds) override; |
| 140 FindBar* CreateFindBar() override; | 140 FindBar* CreateFindBar() override; |
| 141 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 141 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 142 override; | 142 override; |
| 143 void ShowAvatarBubble(content::WebContents* web_contents, | |
| 144 const gfx::Rect& rect) override {} | |
| 145 void ShowAvatarBubbleFromAvatarButton( | 143 void ShowAvatarBubbleFromAvatarButton( |
| 146 AvatarBubbleMode mode, | 144 AvatarBubbleMode mode, |
| 147 const signin::ManageAccountsParams& manage_accounts_params) override {} | 145 const signin::ManageAccountsParams& manage_accounts_params) override {} |
| 148 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 146 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 149 void ExecuteExtensionCommand(const extensions::Extension* extension, | 147 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 150 const extensions::Command& command) override; | 148 const extensions::Command& command) override; |
| 151 | 149 |
| 152 protected: | 150 protected: |
| 153 void DestroyBrowser() override {} | 151 void DestroyBrowser() override {} |
| 154 | 152 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 }; | 190 }; |
| 193 | 191 |
| 194 namespace chrome { | 192 namespace chrome { |
| 195 | 193 |
| 196 // Helper that handle the lifetime of TestBrowserWindow instances. | 194 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 195 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 198 | 196 |
| 199 } // namespace chrome | 197 } // namespace chrome |
| 200 | 198 |
| 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 199 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |