| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 const signin::ManageAccountsParams& manage_accounts_params, | 135 const signin::ManageAccountsParams& manage_accounts_params, |
| 136 signin_metrics::AccessPoint access_point) override {} | 136 signin_metrics::AccessPoint access_point) override {} |
| 137 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; | 137 int GetRenderViewHeightInsetWithDetachedBookmarkBar() override; |
| 138 void ExecuteExtensionCommand(const extensions::Extension* extension, | 138 void ExecuteExtensionCommand(const extensions::Extension* extension, |
| 139 const extensions::Command& command) override; | 139 const extensions::Command& command) override; |
| 140 ExclusiveAccessContext* GetExclusiveAccessContext() override; | 140 ExclusiveAccessContext* GetExclusiveAccessContext() override; |
| 141 void ShowImeWarningBubble( | 141 void ShowImeWarningBubble( |
| 142 const extensions::Extension* extension, | 142 const extensions::Extension* extension, |
| 143 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& | 143 const base::Callback<void(ImeWarningBubblePermissionStatus status)>& |
| 144 callback) override {} | 144 callback) override {} |
| 145 std::string GetWorkspace() const override; |
| 145 | 146 |
| 146 protected: | 147 protected: |
| 147 void DestroyBrowser() override {} | 148 void DestroyBrowser() override {} |
| 148 | 149 |
| 149 private: | 150 private: |
| 150 class TestLocationBar : public LocationBar { | 151 class TestLocationBar : public LocationBar { |
| 151 public: | 152 public: |
| 152 TestLocationBar() : LocationBar(NULL) {} | 153 TestLocationBar() : LocationBar(NULL) {} |
| 153 ~TestLocationBar() override {} | 154 ~TestLocationBar() override {} |
| 154 | 155 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 | 203 |
| 203 namespace chrome { | 204 namespace chrome { |
| 204 | 205 |
| 205 // Helper that handle the lifetime of TestBrowserWindow instances. | 206 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 207 Browser::CreateParams* params); | 208 Browser::CreateParams* params); |
| 208 | 209 |
| 209 } // namespace chrome | 210 } // namespace chrome |
| 210 | 211 |
| 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |