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

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

Issue 11194042: Implement TextureImageTransportSurface using texture mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura DCHECK() Created 8 years 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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual void AcceleratedSurfaceBuffersSwapped( 97 virtual void AcceleratedSurfaceBuffersSwapped(
98 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 98 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
99 int gpu_host_id) OVERRIDE; 99 int gpu_host_id) OVERRIDE;
100 virtual void AcceleratedSurfacePostSubBuffer( 100 virtual void AcceleratedSurfacePostSubBuffer(
101 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 101 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
102 int gpu_host_id) OVERRIDE; 102 int gpu_host_id) OVERRIDE;
103 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 103 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
104 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 104 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
105 virtual void AcceleratedSurfaceNew(int32 width_in_pixel, 105 virtual void AcceleratedSurfaceNew(int32 width_in_pixel,
106 int32 height_in_pixel, 106 int32 height_in_pixel,
107 uint64 surface_id) OVERRIDE; 107 uint64 surface_id,
108 const std::string& mailbox_name) OVERRIDE;
108 virtual void SetHasHorizontalScrollbar( 109 virtual void SetHasHorizontalScrollbar(
109 bool has_horizontal_scrollbar) OVERRIDE; 110 bool has_horizontal_scrollbar) OVERRIDE;
110 virtual void SetScrollOffsetPinning( 111 virtual void SetScrollOffsetPinning(
111 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 112 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
112 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 113 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
113 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 114 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
114 virtual bool LockMouse() OVERRIDE; 115 virtual bool LockMouse() OVERRIDE;
115 virtual void UnlockMouse() OVERRIDE; 116 virtual void UnlockMouse() OVERRIDE;
116 117
117 #if defined(OS_MACOSX) 118 #if defined(OS_MACOSX)
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 193
193 BrowserPluginGuest *guest_; 194 BrowserPluginGuest *guest_;
194 gfx::Size size_; 195 gfx::Size size_;
195 196
196 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 197 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
197 }; 198 };
198 199
199 } // namespace content 200 } // namespace content
200 201
201 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 202 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698