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