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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 87 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
88 const gfx::Rect& end_rect) OVERRIDE; | 88 const gfx::Rect& end_rect) OVERRIDE; |
89 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 89 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
90 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 90 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
91 virtual void AcceleratedSurfaceBuffersSwapped( | 91 virtual void AcceleratedSurfaceBuffersSwapped( |
92 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 92 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
93 int gpu_host_id) OVERRIDE; | 93 int gpu_host_id) OVERRIDE; |
94 virtual void AcceleratedSurfacePostSubBuffer( | 94 virtual void AcceleratedSurfacePostSubBuffer( |
95 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 95 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
96 int gpu_host_id) OVERRIDE; | 96 int gpu_host_id) OVERRIDE; |
| 97 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
97 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) | 98 #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) |
98 virtual void AcceleratedSurfaceNew( | 99 virtual void AcceleratedSurfaceNew( |
99 int32 width, | 100 int32 width, |
100 int32 height, | 101 int32 height, |
101 uint64* surface_id, | 102 uint64* surface_id, |
102 TransportDIB::Handle* surface_handle) OVERRIDE; | 103 TransportDIB::Handle* surface_handle) OVERRIDE; |
103 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; | 104 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
104 #endif | 105 #endif |
105 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 106 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
106 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 107 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // In mouse locked mode, we syntheticaly move the mouse cursor to the center | 261 // In mouse locked mode, we syntheticaly move the mouse cursor to the center |
261 // of the window when it reaches the window borders to avoid it going outside. | 262 // of the window when it reaches the window borders to avoid it going outside. |
262 // This flag is used to differentiate between these synthetic mouse move | 263 // This flag is used to differentiate between these synthetic mouse move |
263 // events vs. normal mouse move events. | 264 // events vs. normal mouse move events. |
264 bool synthetic_move_sent_; | 265 bool synthetic_move_sent_; |
265 | 266 |
266 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 267 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
267 }; | 268 }; |
268 | 269 |
269 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 270 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |