| 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 SecurityStateModel::SecurityInfo& security_info) override {} | 134 const SecurityStateModel::SecurityInfo& security_info) override {} |
| 135 void CutCopyPaste(int command_id) override {} | 135 void CutCopyPaste(int command_id) override {} |
| 136 WindowOpenDisposition GetDispositionForPopupBounds( | 136 WindowOpenDisposition GetDispositionForPopupBounds( |
| 137 const gfx::Rect& bounds) override; | 137 const gfx::Rect& bounds) override; |
| 138 FindBar* CreateFindBar() override; | 138 FindBar* CreateFindBar() override; |
| 139 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 139 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 140 override; | 140 override; |
| 141 void ShowAvatarBubbleFromAvatarButton( | 141 void ShowAvatarBubbleFromAvatarButton( |
| 142 AvatarBubbleMode mode, | 142 AvatarBubbleMode mode, |
| 143 const signin::ManageAccountsParams& manage_accounts_params) override {} | 143 const signin::ManageAccountsParams& manage_accounts_params, |
| 144 void ShowModalSigninWindow(AvatarBubbleMode mode) override {} | 144 signin_metrics::AccessPoint access_point) override {} |
| 145 void ShowModalSigninWindow( |
| 146 AvatarBubbleMode mode, |
| 147 signin_metrics::AccessPoint access_point) override {} |
| 145 void CloseModalSigninWindow() override {} | 148 void CloseModalSigninWindow() override {} |
| 146 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 149 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 147 void ExecuteExtensionCommand(const extensions::Extension* extension, | 150 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 148 const extensions::Command& command) override; | 151 const extensions::Command& command) override; |
| 149 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 152 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
| 150 | 153 |
| 151 protected: | 154 protected: |
| 152 void DestroyBrowser() override {} | 155 void DestroyBrowser() override {} |
| 153 | 156 |
| 154 private: | 157 private: |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 210 |
| 208 namespace chrome { | 211 namespace chrome { |
| 209 | 212 |
| 210 // Helper that handle the lifetime of TestBrowserWindow instances. | 213 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 211 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 214 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 212 Browser::CreateParams* params); | 215 Browser::CreateParams* params); |
| 213 | 216 |
| 214 } // namespace chrome | 217 } // namespace chrome |
| 215 | 218 |
| 216 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 219 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |