| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, | 150 virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode, |
| 151 const signin::ManageAccountsParams& manage_accounts_params) OVERRIDE {} | 151 const signin::ManageAccountsParams& manage_accounts_params) OVERRIDE {} |
| 152 virtual void ShowPasswordGenerationBubble( | 152 virtual void ShowPasswordGenerationBubble( |
| 153 const gfx::Rect& rect, | 153 const gfx::Rect& rect, |
| 154 const autofill::PasswordForm& form, | 154 const autofill::PasswordForm& form, |
| 155 autofill::PasswordGenerator* generator) OVERRIDE {} | 155 autofill::PasswordGenerator* generator) OVERRIDE {} |
| 156 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 156 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
| 157 virtual void ExecuteExtensionCommand( | 157 virtual void ExecuteExtensionCommand( |
| 158 const extensions::Extension* extension, | 158 const extensions::Extension* extension, |
| 159 const extensions::Command& command) OVERRIDE; | 159 const extensions::Command& command) OVERRIDE; |
| 160 virtual bool IsExtensionCommandRegistered( |
| 161 const ui::Accelerator& accelerator) OVERRIDE; |
| 160 | 162 |
| 161 protected: | 163 protected: |
| 162 virtual void DestroyBrowser() OVERRIDE {} | 164 virtual void DestroyBrowser() OVERRIDE {} |
| 163 | 165 |
| 164 private: | 166 private: |
| 165 class TestLocationBar : public LocationBar { | 167 class TestLocationBar : public LocationBar { |
| 166 public: | 168 public: |
| 167 TestLocationBar() : LocationBar(NULL) {} | 169 TestLocationBar() : LocationBar(NULL) {} |
| 168 virtual ~TestLocationBar() {} | 170 virtual ~TestLocationBar() {} |
| 169 | 171 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 }; | 203 }; |
| 202 | 204 |
| 203 namespace chrome { | 205 namespace chrome { |
| 204 | 206 |
| 205 // Helper that handle the lifetime of TestBrowserWindow instances. | 207 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 206 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 208 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 207 | 209 |
| 208 } // namespace chrome | 210 } // namespace chrome |
| 209 | 211 |
| 210 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |