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

Side by Side Diff: components/test_runner/event_sender.cc

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/test_runner/event_sender.h" 5 #include "components/test_runner/event_sender.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "components/test_runner/mock_spell_check.h" 21 #include "components/test_runner/mock_spell_check.h"
22 #include "components/test_runner/test_interfaces.h" 22 #include "components/test_runner/test_interfaces.h"
23 #include "components/test_runner/web_test_delegate.h" 23 #include "components/test_runner/web_test_delegate.h"
24 #include "components/test_runner/web_view_test_proxy.h" 24 #include "components/test_runner/web_view_test_proxy.h"
25 #include "components/test_runner/web_widget_test_proxy.h" 25 #include "components/test_runner/web_widget_test_proxy.h"
26 #include "gin/handle.h" 26 #include "gin/handle.h"
27 #include "gin/object_template_builder.h" 27 #include "gin/object_template_builder.h"
28 #include "gin/wrappable.h" 28 #include "gin/wrappable.h"
29 #include "third_party/WebKit/public/platform/WebGestureEvent.h" 29 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
30 #include "third_party/WebKit/public/platform/WebInputEvent.h" 30 #include "third_party/WebKit/public/platform/WebInputEvent.h"
31 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h"
31 #include "third_party/WebKit/public/platform/WebPointerProperties.h" 32 #include "third_party/WebKit/public/platform/WebPointerProperties.h"
32 #include "third_party/WebKit/public/platform/WebString.h" 33 #include "third_party/WebKit/public/platform/WebString.h"
34 #include "third_party/WebKit/public/platform/WebTouchEvent.h"
33 #include "third_party/WebKit/public/platform/WebVector.h" 35 #include "third_party/WebKit/public/platform/WebVector.h"
34 #include "third_party/WebKit/public/web/WebContextMenuData.h" 36 #include "third_party/WebKit/public/web/WebContextMenuData.h"
35 #include "third_party/WebKit/public/web/WebFrameWidget.h" 37 #include "third_party/WebKit/public/web/WebFrameWidget.h"
36 #include "third_party/WebKit/public/web/WebKit.h" 38 #include "third_party/WebKit/public/web/WebKit.h"
37 #include "third_party/WebKit/public/web/WebLocalFrame.h" 39 #include "third_party/WebKit/public/web/WebLocalFrame.h"
38 #include "third_party/WebKit/public/web/WebPagePopup.h" 40 #include "third_party/WebKit/public/web/WebPagePopup.h"
39 #include "third_party/WebKit/public/web/WebView.h" 41 #include "third_party/WebKit/public/web/WebView.h"
40 #include "ui/events/blink/blink_event_util.h" 42 #include "ui/events/blink/blink_event_util.h"
41 #include "ui/events/keycodes/dom/keycode_converter.h" 43 #include "ui/events/keycodes/dom/keycode_converter.h"
42 #include "ui/events/keycodes/keyboard_codes.h" 44 #include "ui/events/keycodes/keyboard_codes.h"
(...skipping 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after
2898 return view()->mainFrame()->toWebLocalFrame()->frameWidget(); 2900 return view()->mainFrame()->toWebLocalFrame()->frameWidget();
2899 } 2901 }
2900 2902
2901 std::unique_ptr<WebInputEvent> EventSender::TransformScreenToWidgetCoordinates( 2903 std::unique_ptr<WebInputEvent> EventSender::TransformScreenToWidgetCoordinates(
2902 const WebInputEvent& event) { 2904 const WebInputEvent& event) {
2903 return delegate()->TransformScreenToWidgetCoordinates( 2905 return delegate()->TransformScreenToWidgetCoordinates(
2904 web_widget_test_proxy_base_, event); 2906 web_widget_test_proxy_base_, event);
2905 } 2907 }
2906 2908
2907 } // namespace test_runner 2909 } // namespace test_runner
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | components/test_runner/test_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698