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{}; | |
Roger Tawa OOO till Jul 10th
2015/05/14 18:55:03
Nit space before {
gogerald1
2015/05/14 21:35:22
Done.
| |
147 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 148 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
148 void ExecuteExtensionCommand(const extensions::Extension* extension, | 149 void ExecuteExtensionCommand(const extensions::Extension* extension, |
149 const extensions::Command& command) override; | 150 const extensions::Command& command) override; |
150 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 151 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
151 | 152 |
152 protected: | 153 protected: |
153 void DestroyBrowser() override {} | 154 void DestroyBrowser() override {} |
154 | 155 |
155 private: | 156 private: |
156 class TestLocationBar : public LocationBar { | 157 class TestLocationBar : public LocationBar { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 }; | 193 }; |
193 | 194 |
194 namespace chrome { | 195 namespace chrome { |
195 | 196 |
196 // Helper that handle the lifetime of TestBrowserWindow instances. | 197 // Helper that handle the lifetime of TestBrowserWindow instances. |
197 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 198 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
198 | 199 |
199 } // namespace chrome | 200 } // namespace chrome |
200 | 201 |
201 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 202 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |