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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2417463003: Account for failure of coordinate space transformations in browser (Closed)
Patch Set: Review comments addressed Created 4 years, 2 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: content/browser/frame_host/render_widget_host_view_child_frame.h
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h
index 66fbeeafd307a349a9e83d559a2d54366e1f4df9..9af289d782d4706a25a8ac21a7fbc264875fc34d 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.h
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.h
@@ -133,12 +133,13 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame
void ProcessGestureEvent(const blink::WebGestureEvent& event,
const ui::LatencyInfo& latency) override;
gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
- gfx::Point TransformPointToLocalCoordSpace(
+ bool TransformPointToLocalCoordSpace(const gfx::Point& point,
+ const cc::SurfaceId& original_surface,
+ gfx::Point* transformed_point) override;
+ bool TransformPointToCoordSpaceForView(
const gfx::Point& point,
- const cc::SurfaceId& original_surface) override;
- gfx::Point TransformPointToCoordSpaceForView(
- const gfx::Point& point,
- RenderWidgetHostViewBase* target_view) override;
+ RenderWidgetHostViewBase* target_view,
+ gfx::Point* transformed_point) override;
bool IsRenderWidgetHostViewChildFrame() override;

Powered by Google App Engine
This is Rietveld 408576698