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

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

Issue 1806103002: Send wheel gestures from event sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Collapse gesture sending into a single function Created 4 years, 9 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/event_sender.cc ('k') | components/test_runner/web_test_interfaces.cc » ('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_INTERFACES_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/test_runner/test_runner_export.h" 10 #include "components/test_runner/test_runner_export.h"
(...skipping 26 matching lines...) Expand all
37 WebTestInterfaces(); 37 WebTestInterfaces();
38 ~WebTestInterfaces(); 38 ~WebTestInterfaces();
39 39
40 void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy); 40 void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy);
41 void SetDelegate(WebTestDelegate* delegate); 41 void SetDelegate(WebTestDelegate* delegate);
42 void BindTo(blink::WebFrame* frame); 42 void BindTo(blink::WebFrame* frame);
43 void ResetAll(); 43 void ResetAll();
44 void SetTestIsRunning(bool running); 44 void SetTestIsRunning(bool running);
45 void ConfigureForTestWithURL(const blink::WebURL& test_url, 45 void ConfigureForTestWithURL(const blink::WebURL& test_url,
46 bool generate_pixels); 46 bool generate_pixels);
47 void SetSendWheelGestures(bool send_gestures);
47 48
48 WebTestRunner* TestRunner(); 49 WebTestRunner* TestRunner();
49 blink::WebThemeEngine* ThemeEngine(); 50 blink::WebThemeEngine* ThemeEngine();
50 51
51 blink::WebMediaStreamCenter* CreateMediaStreamCenter( 52 blink::WebMediaStreamCenter* CreateMediaStreamCenter(
52 blink::WebMediaStreamCenterClient* client); 53 blink::WebMediaStreamCenterClient* client);
53 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( 54 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler(
54 blink::WebRTCPeerConnectionHandlerClient* client); 55 blink::WebRTCPeerConnectionHandlerClient* client);
55 56
56 blink::WebMIDIAccessor* CreateMIDIAccessor( 57 blink::WebMIDIAccessor* CreateMIDIAccessor(
57 blink::WebMIDIAccessorClient* client); 58 blink::WebMIDIAccessorClient* client);
58 59
59 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); 60 blink::WebAudioDevice* CreateAudioDevice(double sample_rate);
60 61
61 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(); 62 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient();
62 AppBannerClient* GetAppBannerClient(); 63 AppBannerClient* GetAppBannerClient();
63 64
64 TestInterfaces* GetTestInterfaces(); 65 TestInterfaces* GetTestInterfaces();
65 66
66 private: 67 private:
67 scoped_ptr<TestInterfaces> interfaces_; 68 scoped_ptr<TestInterfaces> interfaces_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); 70 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces);
70 }; 71 };
71 72
72 } // namespace test_runner 73 } // namespace test_runner
73 74
74 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 75 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
OLDNEW
« no previous file with comments | « components/test_runner/event_sender.cc ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698