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

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

Issue 2806223002: Use FrameView rather than FrameViewBase for WebInputEventConversion (Closed)
Patch Set: Created 3 years, 8 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 7d63873ebb59c187207fee1a19d1e7358223a25c..7a778b36551c1eb9389db7da5e85282e24569874 100644
--- a/third_party/WebKit/Source/web/WebInputEventConversion.h
+++ b/third_party/WebKit/Source/web/WebInputEventConversion.h
@@ -42,7 +42,7 @@
namespace blink {
-class FrameViewBase;
+class FrameView;
class KeyboardEvent;
class MouseEvent;
class LayoutItem;
@@ -61,12 +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 FrameViewBase*,
- const LayoutItem,
- const MouseEvent&);
- WebMouseEventBuilder(const FrameViewBase*,
- const LayoutItem,
- const TouchEvent&);
+ WebMouseEventBuilder(const FrameView*, const LayoutItem, const MouseEvent&);
+ WebMouseEventBuilder(const FrameView*, const LayoutItem, const TouchEvent&);
};
// Converts a KeyboardEvent to a corresponding WebKeyboardEvent.
@@ -90,22 +86,22 @@ class WEB_EXPORT WebTouchEventBuilder
// Return a new transformed WebGestureEvent by applying the Widget's scale
// and translation.
-WEB_EXPORT WebGestureEvent TransformWebGestureEvent(FrameViewBase*,
+WEB_EXPORT WebGestureEvent TransformWebGestureEvent(FrameView*,
const WebGestureEvent&);
-WEB_EXPORT WebMouseEvent TransformWebMouseEvent(FrameViewBase*,
+WEB_EXPORT WebMouseEvent TransformWebMouseEvent(FrameView*,
const WebMouseEvent&);
WEB_EXPORT WebMouseWheelEvent
-TransformWebMouseWheelEvent(FrameViewBase*, const WebMouseWheelEvent&);
+TransformWebMouseWheelEvent(FrameView*, const WebMouseWheelEvent&);
-WEB_EXPORT WebTouchEvent TransformWebTouchEvent(FrameViewBase*,
+WEB_EXPORT WebTouchEvent TransformWebTouchEvent(FrameView*,
const WebTouchEvent&);
Vector<WebMouseEvent> WEB_EXPORT
-TransformWebMouseEventVector(FrameViewBase*,
+TransformWebMouseEventVector(FrameView*,
const std::vector<const WebInputEvent*>&);
Vector<WebTouchEvent> WEB_EXPORT
-TransformWebTouchEventVector(FrameViewBase*,
+TransformWebTouchEventVector(FrameView*,
const std::vector<const WebInputEvent*>&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698