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 #include <vector> | 10 #include <vector> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 93 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, |
94 const gfx::Rect& end_rect) OVERRIDE; | 94 const gfx::Rect& end_rect) OVERRIDE; |
95 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 95 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
96 virtual void CopyFromCompositingSurface( | 96 virtual void CopyFromCompositingSurface( |
97 const gfx::Size& size, | 97 const gfx::Size& size, |
98 skia::PlatformCanvas* output, | 98 skia::PlatformCanvas* output, |
99 base::Callback<void(bool)> callback) OVERRIDE; | 99 base::Callback<void(bool)> callback) OVERRIDE; |
100 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 100 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
101 virtual void AcceleratedSurfaceBuffersSwapped( | 101 virtual void AcceleratedSurfaceBuffersSwapped( |
102 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 102 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params_in_pixel, |
103 int gpu_host_id) OVERRIDE; | 103 int gpu_host_id) OVERRIDE; |
104 virtual void AcceleratedSurfacePostSubBuffer( | 104 virtual void AcceleratedSurfacePostSubBuffer( |
105 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 105 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params_in_pixel, |
106 int gpu_host_id) OVERRIDE; | 106 int gpu_host_id) OVERRIDE; |
107 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 107 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
108 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 108 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
109 virtual void AcceleratedSurfaceNew( | 109 virtual void AcceleratedSurfaceNew( |
110 int32 width, | 110 int32 width_in_pixel, |
111 int32 height, | 111 int32 height_in_pixel, |
112 uint64* surface_id, | 112 uint64* surface_id, |
113 TransportDIB::Handle* surface_handle) OVERRIDE; | 113 TransportDIB::Handle* surface_handle) OVERRIDE; |
114 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; | 114 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; |
115 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 115 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
116 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 116 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
117 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 117 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
118 bool processed) OVERRIDE; | 118 bool processed) OVERRIDE; |
119 virtual void SetHasHorizontalScrollbar( | 119 virtual void SetHasHorizontalScrollbar( |
120 bool has_horizontal_scrollbar) OVERRIDE; | 120 bool has_horizontal_scrollbar) OVERRIDE; |
121 virtual void SetScrollOffsetPinning( | 121 virtual void SetScrollOffsetPinning( |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // These locks are the ones waiting for a texture of the right size to come | 301 // These locks are the ones waiting for a texture of the right size to come |
302 // back from the renderer/GPU process. | 302 // back from the renderer/GPU process. |
303 std::vector<linked_ptr<ResizeLock> > resize_locks_; | 303 std::vector<linked_ptr<ResizeLock> > resize_locks_; |
304 // These locks are the ones waiting for a frame to be drawn. | 304 // These locks are the ones waiting for a frame to be drawn. |
305 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; | 305 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; |
306 | 306 |
307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 307 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
308 }; | 308 }; |
309 | 309 |
310 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 310 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |