| OLD | NEW |
| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 void LockCompositingSurface() override; | 195 void LockCompositingSurface() override; |
| 196 void UnlockCompositingSurface() override; | 196 void UnlockCompositingSurface() override; |
| 197 uint32_t GetSurfaceIdNamespace() override; | 197 uint32_t GetSurfaceIdNamespace() override; |
| 198 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, | 198 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, |
| 199 const gfx::Point& point, | 199 const gfx::Point& point, |
| 200 gfx::Point* transformed_point) override; | 200 gfx::Point* transformed_point) override; |
| 201 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; | 201 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; |
| 202 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; | 202 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; |
| 203 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 203 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 204 const ui::LatencyInfo& latency) override; | 204 const ui::LatencyInfo& latency) override; |
| 205 void ProcessGestureEvent(const blink::WebGestureEvent& event, |
| 206 const ui::LatencyInfo& latency) override; |
| 205 void TransformPointToLocalCoordSpace(const gfx::Point& point, | 207 void TransformPointToLocalCoordSpace(const gfx::Point& point, |
| 206 cc::SurfaceId original_surface, | 208 cc::SurfaceId original_surface, |
| 207 gfx::Point* transformed_point) override; | 209 gfx::Point* transformed_point) override; |
| 208 | 210 |
| 209 #if defined(OS_WIN) | 211 #if defined(OS_WIN) |
| 210 void SetParentNativeViewAccessible( | 212 void SetParentNativeViewAccessible( |
| 211 gfx::NativeViewAccessible accessible_parent) override; | 213 gfx::NativeViewAccessible accessible_parent) override; |
| 212 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 214 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
| 213 #endif | 215 #endif |
| 214 | 216 |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 gfx::Vector2dF disambiguation_scroll_offset_; | 698 gfx::Vector2dF disambiguation_scroll_offset_; |
| 697 | 699 |
| 698 BeginFrameObserverProxy begin_frame_observer_proxy_; | 700 BeginFrameObserverProxy begin_frame_observer_proxy_; |
| 699 | 701 |
| 700 // This flag when set ensures that we send over a notification to blink that | 702 // This flag when set ensures that we send over a notification to blink that |
| 701 // the current view has focus. Defaults to false. | 703 // the current view has focus. Defaults to false. |
| 702 bool set_focus_on_mouse_down_or_key_event_; | 704 bool set_focus_on_mouse_down_or_key_event_; |
| 703 | 705 |
| 704 float device_scale_factor_; | 706 float device_scale_factor_; |
| 705 | 707 |
| 708 // Allows tests to send gesture events for testing without first sending a |
| 709 // corresponding touch sequence, as would be required by |
| 710 // RenderWidgetHostInputEventRouter. |
| 711 bool disable_input_event_router_for_testing_; |
| 712 |
| 706 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; | 713 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; |
| 707 | 714 |
| 708 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 715 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 709 }; | 716 }; |
| 710 | 717 |
| 711 } // namespace content | 718 } // namespace content |
| 712 | 719 |
| 713 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 720 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |