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

Unified Diff: content/browser/renderer_host/web_input_event_aurawin.cc

Issue 19676008: Import windows WebInputEvent factory to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove dead code, fix namespace for aurawin Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/web_input_event_aurawin.cc
diff --git a/content/browser/renderer_host/web_input_event_aurawin.cc b/content/browser/renderer_host/web_input_event_aurawin.cc
index 4264c008287178abdf3a35bc4a2800b9d1228b80..771b79208c93d4c7d3a767c16c3ce1166bbd8c54 100644
--- a/content/browser/renderer_host/web_input_event_aurawin.cc
+++ b/content/browser/renderer_host/web_input_event_aurawin.cc
@@ -6,7 +6,7 @@
#include "base/event_types.h"
#include "base/logging.h"
-#include "third_party/WebKit/public/web/win/WebInputEventFactory.h"
+#include "content/browser/renderer_host/input/web_input_event_builders_win.h"
namespace content {
@@ -15,26 +15,26 @@ namespace content {
WebKit::WebMouseEvent MakeUntranslatedWebMouseEventFromNativeEvent(
base::NativeEvent native_event) {
- return WebKit::WebInputEventFactory::mouseEvent(native_event.hwnd,
- native_event.message,
- native_event.wParam,
- native_event.lParam);
+ return WebMouseEventBuilder::Build(native_event.hwnd,
+ native_event.message,
+ native_event.wParam,
+ native_event.lParam);
}
WebKit::WebMouseWheelEvent MakeUntranslatedWebMouseWheelEventFromNativeEvent(
base::NativeEvent native_event) {
- return WebKit::WebInputEventFactory::mouseWheelEvent(native_event.hwnd,
- native_event.message,
- native_event.wParam,
- native_event.lParam);
+ return WebMouseWheelEventBuilder::Build(native_event.hwnd,
+ native_event.message,
+ native_event.wParam,
+ native_event.lParam);
}
WebKit::WebKeyboardEvent MakeWebKeyboardEventFromNativeEvent(
base::NativeEvent native_event) {
- return WebKit::WebInputEventFactory::keyboardEvent(native_event.hwnd,
- native_event.message,
- native_event.wParam,
- native_event.lParam);
+ return WebKeyboardEventBuilder::Build(native_event.hwnd,
+ native_event.message,
+ native_event.wParam,
+ native_event.lParam);
}
WebKit::WebGestureEvent MakeWebGestureEventFromNativeEvent(
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698