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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 const gfx::Point& point, 191 const gfx::Point& point,
192 gfx::Point* transformed_point) override; 192 gfx::Point* transformed_point) override;
193 void ProcessMouseEvent(const blink::WebMouseEvent& event, 193 void ProcessMouseEvent(const blink::WebMouseEvent& event,
194 const ui::LatencyInfo& latency) override; 194 const ui::LatencyInfo& latency) override;
195 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, 195 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,
196 const ui::LatencyInfo& latency) override; 196 const ui::LatencyInfo& latency) override;
197 void ProcessTouchEvent(const blink::WebTouchEvent& event, 197 void ProcessTouchEvent(const blink::WebTouchEvent& event,
198 const ui::LatencyInfo& latency) override; 198 const ui::LatencyInfo& latency) override;
199 void ProcessGestureEvent(const blink::WebGestureEvent& event, 199 void ProcessGestureEvent(const blink::WebGestureEvent& event,
200 const ui::LatencyInfo& latency) override; 200 const ui::LatencyInfo& latency) override;
201 gfx::Point TransformPointToLocalCoordSpace( 201 bool TransformPointToLocalCoordSpace(const gfx::Point& point,
202 const cc::SurfaceId& original_surface,
203 gfx::Point* transformed_point) override;
204 bool TransformPointToCoordSpaceForView(
202 const gfx::Point& point, 205 const gfx::Point& point,
203 const cc::SurfaceId& original_surface) override; 206 RenderWidgetHostViewBase* target_view,
204 gfx::Point TransformPointToCoordSpaceForView( 207 gfx::Point* transformed_point) override;
205 const gfx::Point& point,
206 RenderWidgetHostViewBase* target_view) override;
207 208
208 void FocusedNodeChanged(bool is_editable_node, 209 void FocusedNodeChanged(bool is_editable_node,
209 const gfx::Rect& node_bounds_in_screen) override; 210 const gfx::Rect& node_bounds_in_screen) override;
210 211
211 // Overridden from ui::TextInputClient: 212 // Overridden from ui::TextInputClient:
212 void SetCompositionText(const ui::CompositionText& composition) override; 213 void SetCompositionText(const ui::CompositionText& composition) override;
213 void ConfirmCompositionText() override; 214 void ConfirmCompositionText() override;
214 void ClearCompositionText() override; 215 void ClearCompositionText() override;
215 void InsertText(const base::string16& text) override; 216 void InsertText(const base::string16& text) override;
216 void InsertChar(const ui::KeyEvent& event) override; 217 void InsertChar(const ui::KeyEvent& event) override;
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 int32_t last_active_widget_routing_id_; 703 int32_t last_active_widget_routing_id_;
703 704
704 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 705 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
705 706
706 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 707 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
707 }; 708 };
708 709
709 } // namespace content 710 } // namespace content
710 711
711 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 712 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698