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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2184033003: Refactor browser process coordinate transformation methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed problematic DCHECK 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 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 const gfx::Point& point, 194 const gfx::Point& point,
195 gfx::Point* transformed_point) override; 195 gfx::Point* transformed_point) override;
196 void ProcessMouseEvent(const blink::WebMouseEvent& event, 196 void ProcessMouseEvent(const blink::WebMouseEvent& event,
197 const ui::LatencyInfo& latency) override; 197 const ui::LatencyInfo& latency) override;
198 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, 198 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,
199 const ui::LatencyInfo& latency) override; 199 const ui::LatencyInfo& latency) override;
200 void ProcessTouchEvent(const blink::WebTouchEvent& event, 200 void ProcessTouchEvent(const blink::WebTouchEvent& event,
201 const ui::LatencyInfo& latency) override; 201 const ui::LatencyInfo& latency) override;
202 void ProcessGestureEvent(const blink::WebGestureEvent& event, 202 void ProcessGestureEvent(const blink::WebGestureEvent& event,
203 const ui::LatencyInfo& latency) override; 203 const ui::LatencyInfo& latency) override;
204 void TransformPointToLocalCoordSpace(const gfx::Point& point, 204 gfx::Point TransformPointToLocalCoordSpace(
205 const cc::SurfaceId& original_surface, 205 const gfx::Point& point,
206 gfx::Point* transformed_point) override; 206 const cc::SurfaceId& original_surface) override;
207 gfx::Point TransformPointToCoordSpaceForView(
208 const gfx::Point& point,
209 RenderWidgetHostViewBase* target_view) override;
210
207 void FocusedNodeChanged(bool is_editable_node) override; 211 void FocusedNodeChanged(bool is_editable_node) override;
208 212
209 // Overridden from ui::TextInputClient: 213 // Overridden from ui::TextInputClient:
210 void SetCompositionText(const ui::CompositionText& composition) override; 214 void SetCompositionText(const ui::CompositionText& composition) override;
211 void ConfirmCompositionText() override; 215 void ConfirmCompositionText() override;
212 void ClearCompositionText() override; 216 void ClearCompositionText() override;
213 void InsertText(const base::string16& text) override; 217 void InsertText(const base::string16& text) override;
214 void InsertChar(const ui::KeyEvent& event) override; 218 void InsertChar(const ui::KeyEvent& event) override;
215 ui::TextInputType GetTextInputType() const override; 219 ui::TextInputType GetTextInputType() const override;
216 ui::TextInputMode GetTextInputMode() const override; 220 ui::TextInputMode GetTextInputMode() const override;
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 bool disable_input_event_router_for_testing_; 689 bool disable_input_event_router_for_testing_;
686 690
687 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 691 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
688 692
689 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 693 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
690 }; 694 };
691 695
692 } // namespace content 696 } // namespace content
693 697
694 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698