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(bool processed) OVERRIDE; | 109 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 110 bool processed) OVERRIDE; |
110 virtual void SetHasHorizontalScrollbar( | 111 virtual void SetHasHorizontalScrollbar( |
111 bool has_horizontal_scrollbar) OVERRIDE; | 112 bool has_horizontal_scrollbar) OVERRIDE; |
112 virtual void SetScrollOffsetPinning( | 113 virtual void SetScrollOffsetPinning( |
113 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 114 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
114 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 115 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
115 virtual bool LockMouse() OVERRIDE; | 116 virtual bool LockMouse() OVERRIDE; |
116 virtual void UnlockMouse() OVERRIDE; | 117 virtual void UnlockMouse() OVERRIDE; |
117 | 118 |
118 // Overridden from ui::TextInputClient: | 119 // Overridden from ui::TextInputClient: |
119 virtual void SetCompositionText( | 120 virtual void SetCompositionText( |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // In mouse locked mode, we syntheticaly move the mouse cursor to the center | 265 // In mouse locked mode, we syntheticaly move the mouse cursor to the center |
265 // of the window when it reaches the window borders to avoid it going outside. | 266 // of the window when it reaches the window borders to avoid it going outside. |
266 // This flag is used to differentiate between these synthetic mouse move | 267 // This flag is used to differentiate between these synthetic mouse move |
267 // events vs. normal mouse move events. | 268 // events vs. normal mouse move events. |
268 bool synthetic_move_sent_; | 269 bool synthetic_move_sent_; |
269 | 270 |
270 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 271 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
271 }; | 272 }; |
272 | 273 |
273 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 274 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |