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

Unified Diff: ui/events/blink/web_input_event_builders_win.h

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « ui/events/blink/web_input_event.cc ('k') | ui/events/blink/web_input_event_builders_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event_builders_win.h
diff --git a/content/browser/renderer_host/input/web_input_event_builders_win.h b/ui/events/blink/web_input_event_builders_win.h
similarity index 59%
rename from content/browser/renderer_host/input/web_input_event_builders_win.h
rename to ui/events/blink/web_input_event_builders_win.h
index 189bfd043355ef6cb56bad9129c2b967f37ec50e..e23ce9cfce48dbd138116d5ced8efe16f4a5bab1 100644
--- a/content/browser/renderer_host/input/web_input_event_builders_win.h
+++ b/ui/events/blink/web_input_event_builders_win.h
@@ -1,18 +1,17 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_
-#define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_
+#ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_
+#define UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_
#include <windows.h>
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
+#include "third_party/WebKit/public/platform/WebInputEvent.h"
-namespace content {
+namespace ui {
-class CONTENT_EXPORT WebKeyboardEventBuilder {
+class WebKeyboardEventBuilder {
public:
static blink::WebKeyboardEvent Build(HWND hwnd,
UINT message,
@@ -21,7 +20,7 @@ class CONTENT_EXPORT WebKeyboardEventBuilder {
double time_stamp);
};
-class CONTENT_EXPORT WebMouseEventBuilder {
+class WebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(
HWND hwnd,
@@ -32,7 +31,7 @@ class CONTENT_EXPORT WebMouseEventBuilder {
blink::WebPointerProperties::PointerType pointer_type);
};
-class CONTENT_EXPORT WebMouseWheelEventBuilder {
+class WebMouseWheelEventBuilder {
public:
static blink::WebMouseWheelEvent Build(
HWND hwnd,
@@ -43,6 +42,6 @@ class CONTENT_EXPORT WebMouseWheelEventBuilder {
blink::WebPointerProperties::PointerType pointer_type);
};
-} // namespace content
+} // namespace ui
-#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_
+#endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_
« no previous file with comments | « ui/events/blink/web_input_event.cc ('k') | ui/events/blink/web_input_event_builders_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698