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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 int gpu_host_id) OVERRIDE; | 99 int gpu_host_id) OVERRIDE; |
100 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 100 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
101 virtual void AcceleratedSurfaceNew( | 101 virtual void AcceleratedSurfaceNew( |
102 int32 width, | 102 int32 width, |
103 int32 height, | 103 int32 height, |
104 uint64* surface_id, | 104 uint64* surface_id, |
105 TransportDIB::Handle* surface_handle) OVERRIDE; | 105 TransportDIB::Handle* surface_handle) OVERRIDE; |
106 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; | 106 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
107 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 107 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
108 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 108 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
109 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 109 virtual void ProcessTouchAck(bool processed) OVERRIDE; |
110 bool processed) OVERRIDE; | |
111 virtual void SetHasHorizontalScrollbar( | 110 virtual void SetHasHorizontalScrollbar( |
112 bool has_horizontal_scrollbar) OVERRIDE; | 111 bool has_horizontal_scrollbar) OVERRIDE; |
113 virtual void SetScrollOffsetPinning( | 112 virtual void SetScrollOffsetPinning( |
114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
115 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 114 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
116 virtual bool LockMouse() OVERRIDE; | 115 virtual bool LockMouse() OVERRIDE; |
117 virtual void UnlockMouse() OVERRIDE; | 116 virtual void UnlockMouse() OVERRIDE; |
118 | 117 |
119 // Overridden from ui::TextInputClient: | 118 // Overridden from ui::TextInputClient: |
120 virtual void SetCompositionText( | 119 virtual void SetCompositionText( |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // In mouse locked mode, we syntheticaly move the mouse cursor to the center | 264 // In mouse locked mode, we syntheticaly move the mouse cursor to the center |
266 // of the window when it reaches the window borders to avoid it going outside. | 265 // of the window when it reaches the window borders to avoid it going outside. |
267 // This flag is used to differentiate between these synthetic mouse move | 266 // This flag is used to differentiate between these synthetic mouse move |
268 // events vs. normal mouse move events. | 267 // events vs. normal mouse move events. |
269 bool synthetic_move_sent_; | 268 bool synthetic_move_sent_; |
270 | 269 |
271 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
272 }; | 271 }; |
273 | 272 |
274 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 273 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |