| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 const SecurityStateModel::SecurityInfo& security_info) override {} | 141 const SecurityStateModel::SecurityInfo& security_info) override {} |
| 142 void CutCopyPaste(int command_id) override {} | 142 void CutCopyPaste(int command_id) override {} |
| 143 WindowOpenDisposition GetDispositionForPopupBounds( | 143 WindowOpenDisposition GetDispositionForPopupBounds( |
| 144 const gfx::Rect& bounds) override; | 144 const gfx::Rect& bounds) override; |
| 145 FindBar* CreateFindBar() override; | 145 FindBar* CreateFindBar() override; |
| 146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 146 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 147 override; | 147 override; |
| 148 void ShowAvatarBubbleFromAvatarButton( | 148 void ShowAvatarBubbleFromAvatarButton( |
| 149 AvatarBubbleMode mode, | 149 AvatarBubbleMode mode, |
| 150 const signin::ManageAccountsParams& manage_accounts_params) override {} | 150 const signin::ManageAccountsParams& manage_accounts_params) override {} |
| 151 void ShowModalSigninWindow(AvatarBubbleMode mode) override {} |
| 152 void CloseModalSigninWindow() override {} |
| 151 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 153 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 152 void ExecuteExtensionCommand(const extensions::Extension* extension, | 154 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 153 const extensions::Command& command) override; | 155 const extensions::Command& command) override; |
| 154 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 156 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
| 155 | 157 |
| 156 protected: | 158 protected: |
| 157 void DestroyBrowser() override {} | 159 void DestroyBrowser() override {} |
| 158 | 160 |
| 159 private: | 161 private: |
| 160 class TestLocationBar : public LocationBar { | 162 class TestLocationBar : public LocationBar { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 214 |
| 213 namespace chrome { | 215 namespace chrome { |
| 214 | 216 |
| 215 // Helper that handle the lifetime of TestBrowserWindow instances. | 217 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 216 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 218 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 217 Browser::CreateParams* params); | 219 Browser::CreateParams* params); |
| 218 | 220 |
| 219 } // namespace chrome | 221 } // namespace chrome |
| 220 | 222 |
| 221 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 223 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |