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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 const content::SSLStatus& ssl) override {} | 137 const content::SSLStatus& ssl) override {} |
138 void CutCopyPaste(int command_id) override {} | 138 void CutCopyPaste(int command_id) override {} |
139 WindowOpenDisposition GetDispositionForPopupBounds( | 139 WindowOpenDisposition GetDispositionForPopupBounds( |
140 const gfx::Rect& bounds) override; | 140 const gfx::Rect& bounds) override; |
141 FindBar* CreateFindBar() override; | 141 FindBar* CreateFindBar() override; |
142 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 142 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
143 override; | 143 override; |
144 void ShowAvatarBubbleFromAvatarButton( | 144 void ShowAvatarBubbleFromAvatarButton( |
145 AvatarBubbleMode mode, | 145 AvatarBubbleMode mode, |
146 const signin::ManageAccountsParams& manage_accounts_params) override {} | 146 const signin::ManageAccountsParams& manage_accounts_params) override {} |
147 void CloseAvatarBubbleFromAvatarButton() override {} | |
148 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 147 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
149 void ExecuteExtensionCommand(const extensions::Extension* extension, | 148 void ExecuteExtensionCommand(const extensions::Extension* extension, |
150 const extensions::Command& command) override; | 149 const extensions::Command& command) override; |
151 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 150 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
152 | 151 |
153 protected: | 152 protected: |
154 void DestroyBrowser() override {} | 153 void DestroyBrowser() override {} |
155 | 154 |
156 private: | 155 private: |
157 class TestLocationBar : public LocationBar { | 156 class TestLocationBar : public LocationBar { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 }; | 192 }; |
194 | 193 |
195 namespace chrome { | 194 namespace chrome { |
196 | 195 |
197 // Helper that handle the lifetime of TestBrowserWindow instances. | 196 // Helper that handle the lifetime of TestBrowserWindow instances. |
198 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
199 | 198 |
200 } // namespace chrome | 199 } // namespace chrome |
201 | 200 |
202 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |