Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 int gpu_host_id) OVERRIDE; 102 int gpu_host_id) OVERRIDE;
103 virtual void AcceleratedSurfacePostSubBuffer( 103 virtual void AcceleratedSurfacePostSubBuffer(
104 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 104 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
105 int gpu_host_id) OVERRIDE; 105 int gpu_host_id) OVERRIDE;
106 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 106 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
107 virtual void AcceleratedSurfaceNew( 107 virtual void AcceleratedSurfaceNew(
108 int32 width, 108 int32 width,
109 int32 height, 109 int32 height,
110 uint64* surface_id, 110 uint64* surface_id,
111 TransportDIB::Handle* surface_handle) OVERRIDE; 111 TransportDIB::Handle* surface_handle) OVERRIDE;
112 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE; 112 virtual bool AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE;
113 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; 113 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE;
114 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; 114 virtual gfx::Rect GetRootWindowBounds() OVERRIDE;
115 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, 115 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
116 bool processed) OVERRIDE; 116 bool processed) OVERRIDE;
117 virtual void SetHasHorizontalScrollbar( 117 virtual void SetHasHorizontalScrollbar(
118 bool has_horizontal_scrollbar) OVERRIDE; 118 bool has_horizontal_scrollbar) OVERRIDE;
119 virtual void SetScrollOffsetPinning( 119 virtual void SetScrollOffsetPinning(
120 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 120 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
121 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 121 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
122 virtual bool LockMouse() OVERRIDE; 122 virtual bool LockMouse() OVERRIDE;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // These locks are the ones waiting for a texture of the right size to come 295 // These locks are the ones waiting for a texture of the right size to come
296 // back from the renderer/GPU process. 296 // back from the renderer/GPU process.
297 std::vector<linked_ptr<ResizeLock> > resize_locks_; 297 std::vector<linked_ptr<ResizeLock> > resize_locks_;
298 // These locks are the ones waiting for a frame to be drawn. 298 // These locks are the ones waiting for a frame to be drawn.
299 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; 299 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_;
300 300
301 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 301 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
302 }; 302 };
303 303
304 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 304 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698