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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2896583005: Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: updated test code 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
OLDNEW
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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 #include "content/shell/test_runner/web_test_delegate.h" 21 #include "content/shell/test_runner/web_test_delegate.h"
22 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
23 23
24 class SkBitmap; 24 class SkBitmap;
25 25
26 namespace base { 26 namespace base {
27 class DictionaryValue; 27 class DictionaryValue;
28 } 28 }
29 29
30 namespace blink { 30 namespace blink {
31 class MotionData;
32 class OrientationData; 31 class OrientationData;
32 class WebDeviceMotionData;
33 class WebFrame; 33 class WebFrame;
34 class WebURLRequest; 34 class WebURLRequest;
35 class WebView; 35 class WebView;
36 } 36 }
37 37
38 namespace test_runner { 38 namespace test_runner {
39 class AppBannerService; 39 class AppBannerService;
40 } 40 }
41 41
42 namespace content { 42 namespace content {
(...skipping 18 matching lines...) Expand all
61 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, 61 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
62 bool is_new_navigation) override; 62 bool is_new_navigation) override;
63 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, 63 void DidFailProvisionalLoad(blink::WebLocalFrame* frame,
64 const blink::WebURLError& error) override; 64 const blink::WebURLError& error) override;
65 65
66 // WebTestDelegate implementation. 66 // WebTestDelegate implementation.
67 void ClearEditCommand() override; 67 void ClearEditCommand() override;
68 void SetEditCommand(const std::string& name, 68 void SetEditCommand(const std::string& name,
69 const std::string& value) override; 69 const std::string& value) override;
70 void SetGamepadProvider(test_runner::GamepadController* controller) override; 70 void SetGamepadProvider(test_runner::GamepadController* controller) override;
71 void SetDeviceMotionData(const device::MotionData& data) override; 71 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override;
72 void SetDeviceOrientationData(const device::OrientationData& data) override; 72 void SetDeviceOrientationData(const device::OrientationData& data) override;
73 void PrintMessageToStderr(const std::string& message) override; 73 void PrintMessageToStderr(const std::string& message) override;
74 void PrintMessage(const std::string& message) override; 74 void PrintMessage(const std::string& message) override;
75 void PostTask(const base::Closure& task) override; 75 void PostTask(const base::Closure& task) override;
76 void PostDelayedTask(const base::Closure& task, long long ms) override; 76 void PostDelayedTask(const base::Closure& task, long long ms) override;
77 blink::WebString RegisterIsolatedFileSystem( 77 blink::WebString RegisterIsolatedFileSystem(
78 const blink::WebVector<blink::WebString>& absolute_filenames) override; 78 const blink::WebVector<blink::WebString>& absolute_filenames) override;
79 long long GetCurrentTimeInMillisecond() override; 79 long long GetCurrentTimeInMillisecond() override;
80 blink::WebString GetAbsoluteWebStringFromUTF8Path( 80 blink::WebString GetAbsoluteWebStringFromUTF8Path(
81 const std::string& utf8_path) override; 81 const std::string& utf8_path) override;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; 224 std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
225 225
226 std::unique_ptr<LeakDetector> leak_detector_; 226 std::unique_ptr<LeakDetector> leak_detector_;
227 227
228 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 228 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
229 }; 229 };
230 230
231 } // namespace content 231 } // namespace content
232 232
233 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 233 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698