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

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

Issue 12090109: Tab Capture: Backing store readbacks to YV12 VideoFrames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix per wjia Created 7 years, 10 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_GTK_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
7 7
8 #include <gdk/gdk.h> 8 #include <gdk/gdk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void SelectionChanged(const string16& text, 94 virtual void SelectionChanged(const string16& text,
95 size_t offset, 95 size_t offset,
96 const ui::Range& range) OVERRIDE; 96 const ui::Range& range) OVERRIDE;
97 virtual void SelectionBoundsChanged( 97 virtual void SelectionBoundsChanged(
98 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 98 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
99 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 99 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
100 virtual void CopyFromCompositingSurface( 100 virtual void CopyFromCompositingSurface(
101 const gfx::Rect& src_subrect, 101 const gfx::Rect& src_subrect,
102 const gfx::Size& dst_size, 102 const gfx::Size& dst_size,
103 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 103 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE;
104 virtual void CopyFromCompositingSurfaceToVideoFrame(
105 const gfx::Rect& src_subrect,
106 const scoped_refptr<media::VideoFrame>& target,
107 const base::Callback<void(bool)>& callback) OVERRIDE;
108 virtual bool CanCopyToVideoFrame() const OVERRIDE;
104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 109 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
105 virtual void AcceleratedSurfaceBuffersSwapped( 110 virtual void AcceleratedSurfaceBuffersSwapped(
106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 111 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
107 int gpu_host_id) OVERRIDE; 112 int gpu_host_id) OVERRIDE;
108 virtual void AcceleratedSurfacePostSubBuffer( 113 virtual void AcceleratedSurfacePostSubBuffer(
109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 114 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
110 int gpu_host_id) OVERRIDE; 115 int gpu_host_id) OVERRIDE;
111 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 116 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
112 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 117 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
113 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; 118 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Instance of accessibility information for the root of the AtkObject 319 // Instance of accessibility information for the root of the AtkObject
315 // tree representation of the WebKit render tree. 320 // tree representation of the WebKit render tree.
316 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 321 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
317 322
318 ui::GtkSignalRegistrar signals_; 323 ui::GtkSignalRegistrar signals_;
319 }; 324 };
320 325
321 } // namespace content 326 } // namespace content
322 327
323 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 328 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698