Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: components/test_runner/web_test_delegate.h

Issue 2647243002: PaymentApp: Implement PaymentAppProvider for LayoutTest.
Patch Set: PaymentApp: Implement PaymentAppProvider for LayoutTest. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/test_runner/test_runner_for_specific_view.cc ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 callback) = 0; 195 callback) = 0;
196 196
197 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid 197 // Calls the BluetoothChooser::EventHandler with the arguments here. Valid
198 // event strings are: 198 // event strings are:
199 // * "cancel" - simulates the user canceling the chooser. 199 // * "cancel" - simulates the user canceling the chooser.
200 // * "select" - simulates the user selecting a device whose device ID is in 200 // * "select" - simulates the user selecting a device whose device ID is in
201 // |argument|. 201 // |argument|.
202 virtual void SendBluetoothManualChooserEvent(const std::string& event, 202 virtual void SendBluetoothManualChooserEvent(const std::string& event,
203 const std::string& argument) = 0; 203 const std::string& argument) = 0;
204 204
205 virtual void GetAllPaymentAppIDs(
206 const base::Callback<void(const std::vector<int64_t>&)>& callback) = 0;
207
208 virtual void InvokePaymentApp(int64_t registration_id) = 0;
209
205 // Controls which WebView should be focused. 210 // Controls which WebView should be focused.
206 virtual void SetFocus(blink::WebView* web_view, bool focus) = 0; 211 virtual void SetFocus(blink::WebView* web_view, bool focus) = 0;
207 212
208 // Controls whether all cookies should be accepted or writing cookies in a 213 // Controls whether all cookies should be accepted or writing cookies in a
209 // third-party context is blocked. 214 // third-party context is blocked.
210 virtual void SetBlockThirdPartyCookies(bool block) = 0; 215 virtual void SetBlockThirdPartyCookies(bool block) = 0;
211 216
212 // The same as RewriteLayoutTestsURL unless the resource is a path starting 217 // The same as RewriteLayoutTestsURL unless the resource is a path starting
213 // with /tmp/, then return a file URL to a temporary file. 218 // with /tmp/, then return a file URL to a temporary file.
214 virtual std::string PathToLocalResource(const std::string& resource) = 0; 219 virtual std::string PathToLocalResource(const std::string& resource) = 0;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 virtual void RunIdleTasks(const base::Closure& callback) = 0; 294 virtual void RunIdleTasks(const base::Closure& callback) = 0;
290 295
291 // Forces a text input state update for the client of WebFrameWidget 296 // Forces a text input state update for the client of WebFrameWidget
292 // associated with |frame|. 297 // associated with |frame|.
293 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; 298 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0;
294 }; 299 };
295 300
296 } // namespace test_runner 301 } // namespace test_runner
297 302
298 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 303 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner_for_specific_view.cc ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698