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

Unified Diff: third_party/WebKit/Source/web/WebInputEventConversion.h

Issue 2722953003: Part 1 to rename platform/Widget to platform/FrameViewBase. (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/web/WebInputEventConversion.h
diff --git a/third_party/WebKit/Source/web/WebInputEventConversion.h b/third_party/WebKit/Source/web/WebInputEventConversion.h
index 0d4878361ab98acf9e91e285635a764e8693d8f2..182e58102b3eab259194af10f16e5c6499e49281 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.h
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.h
@@ -42,13 +42,13 @@
namespace blink {
+class FrameViewBase;
class KeyboardEvent;
class MouseEvent;
class LayoutItem;
class TouchEvent;
class WebGestureEvent;
class WebKeyboardEvent;
-class Widget;
// These classes are used to convert from WebInputEvent subclasses to
// corresponding WebCore events.
@@ -61,8 +61,8 @@ class WEB_EXPORT WebMouseEventBuilder
// NOTE: This is only implemented for mousemove, mouseover, mouseout,
// mousedown and mouseup. If the event mapping fails, the event type will
// be set to Undefined.
- WebMouseEventBuilder(const Widget*, const LayoutItem, const MouseEvent&);
- WebMouseEventBuilder(const Widget*, const LayoutItem, const TouchEvent&);
+ WebMouseEventBuilder(const FrameViewBase*, const LayoutItem, const MouseEvent&);
+ WebMouseEventBuilder(const FrameViewBase*, const LayoutItem, const TouchEvent&);
};
// Converts a KeyboardEvent to a corresponding WebKeyboardEvent.
@@ -86,19 +86,19 @@ class WEB_EXPORT WebTouchEventBuilder
// Return a new transformed WebGestureEvent by applying the Widget's scale
// and translation.
-WEB_EXPORT WebGestureEvent TransformWebGestureEvent(Widget*,
+WEB_EXPORT WebGestureEvent TransformWebGestureEvent(FrameViewBase*,
const WebGestureEvent&);
-WEB_EXPORT WebMouseEvent TransformWebMouseEvent(Widget*, const WebMouseEvent&);
+WEB_EXPORT WebMouseEvent TransformWebMouseEvent(FrameViewBase*, const WebMouseEvent&);
WEB_EXPORT WebMouseWheelEvent
-TransformWebMouseWheelEvent(Widget*, const WebMouseWheelEvent&);
+TransformWebMouseWheelEvent(FrameViewBase*, const WebMouseWheelEvent&);
-WEB_EXPORT WebTouchEvent TransformWebTouchEvent(Widget*, const WebTouchEvent&);
+WEB_EXPORT WebTouchEvent TransformWebTouchEvent(FrameViewBase*, const WebTouchEvent&);
Vector<WebMouseEvent> WEB_EXPORT
-TransformWebMouseEventVector(Widget*, const std::vector<const WebInputEvent*>&);
+TransformWebMouseEventVector(FrameViewBase*, const std::vector<const WebInputEvent*>&);
Vector<WebTouchEvent> WEB_EXPORT
-TransformWebTouchEventVector(Widget*, const std::vector<const WebInputEvent*>&);
+TransformWebTouchEventVector(FrameViewBase*, const std::vector<const WebInputEvent*>&);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698