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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const GURL& url, | 140 const GURL& url, |
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, |
| 151 signin_metrics::AccessPoint access_point) override {} |
151 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 152 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
152 void ExecuteExtensionCommand(const extensions::Extension* extension, | 153 void ExecuteExtensionCommand(const extensions::Extension* extension, |
153 const extensions::Command& command) override; | 154 const extensions::Command& command) override; |
154 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 155 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
155 | 156 |
156 protected: | 157 protected: |
157 void DestroyBrowser() override {} | 158 void DestroyBrowser() override {} |
158 | 159 |
159 private: | 160 private: |
160 class TestLocationBar : public LocationBar { | 161 class TestLocationBar : public LocationBar { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 213 |
213 namespace chrome { | 214 namespace chrome { |
214 | 215 |
215 // Helper that handle the lifetime of TestBrowserWindow instances. | 216 // Helper that handle the lifetime of TestBrowserWindow instances. |
216 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 217 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
217 Browser::CreateParams* params); | 218 Browser::CreateParams* params); |
218 | 219 |
219 } // namespace chrome | 220 } // namespace chrome |
220 | 221 |
221 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 222 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |