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

Side by Side Diff: content/shell/test_runner/web_test_delegate.h

Issue 2845763002: Remove DeviceLightEvent implementation (Closed)
Patch Set: same as previous patch Created 3 years, 7 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 | « content/shell/test_runner/test_runner.cc ('k') | content/test/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 CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 6 #define CONTENT_SHELL_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Set and clear the edit command to execute on the next call to 56 // Set and clear the edit command to execute on the next call to
57 // WebViewClient::handleCurrentKeyboardEvent(). 57 // WebViewClient::handleCurrentKeyboardEvent().
58 virtual void ClearEditCommand() = 0; 58 virtual void ClearEditCommand() = 0;
59 virtual void SetEditCommand(const std::string& name, 59 virtual void SetEditCommand(const std::string& name,
60 const std::string& value) = 0; 60 const std::string& value) = 0;
61 61
62 // Sets gamepad provider to be used for tests. 62 // Sets gamepad provider to be used for tests.
63 virtual void SetGamepadProvider(GamepadController* controller) = 0; 63 virtual void SetGamepadProvider(GamepadController* controller) = 0;
64 64
65 // Set data to return when registering via 65 // Set data to return when registering via
66 // Platform::setDeviceLightListener().
67 virtual void SetDeviceLightData(const double data) = 0;
68 // Set data to return when registering via
69 // Platform::setDeviceMotionListener(). 66 // Platform::setDeviceMotionListener().
70 virtual void SetDeviceMotionData(const device::MotionData& data) = 0; 67 virtual void SetDeviceMotionData(const device::MotionData& data) = 0;
71 // Set data to return when registering via 68 // Set data to return when registering via
72 // Platform::setDeviceOrientationListener(). 69 // Platform::setDeviceOrientationListener().
73 virtual void SetDeviceOrientationData( 70 virtual void SetDeviceOrientationData(
74 const device::OrientationData& data) = 0; 71 const device::OrientationData& data) = 0;
75 72
76 // Add a message to stderr (not saved to expected output files, for debugging 73 // Add a message to stderr (not saved to expected output files, for debugging
77 // only). 74 // only).
78 virtual void PrintMessageToStderr(const std::string& message) = 0; 75 virtual void PrintMessageToStderr(const std::string& message) = 0;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 299
303 // PlzNavigate 300 // PlzNavigate
304 // Indicates if the navigation was initiated by the browser or renderer. 301 // Indicates if the navigation was initiated by the browser or renderer.
305 virtual bool IsNavigationInitiatedByRenderer( 302 virtual bool IsNavigationInitiatedByRenderer(
306 const blink::WebURLRequest& request) = 0; 303 const blink::WebURLRequest& request) = 0;
307 }; 304 };
308 305
309 } // namespace test_runner 306 } // namespace test_runner
310 307
311 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_ 308 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_runner.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698