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

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

Issue 143683003: Support format using enum argument for Async readback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code changes as per review. Created 6 years, 11 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
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 size_t offset, 98 size_t offset,
99 const gfx::Range& range) OVERRIDE; 99 const gfx::Range& range) OVERRIDE;
100 virtual void SelectionBoundsChanged( 100 virtual void SelectionBoundsChanged(
101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
102 virtual void ScrollOffsetChanged() OVERRIDE; 102 virtual void ScrollOffsetChanged() OVERRIDE;
103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
104 virtual void CopyFromCompositingSurface( 104 virtual void CopyFromCompositingSurface(
105 const gfx::Rect& src_subrect, 105 const gfx::Rect& src_subrect,
106 const gfx::Size& dst_size, 106 const gfx::Size& dst_size,
107 const base::Callback<void(bool, const SkBitmap&)>& callback, 107 const base::Callback<void(bool, const SkBitmap&)>& callback,
108 bool readback_config_rgb565) OVERRIDE; 108 SkBitmap::Config config) OVERRIDE;
109 virtual void CopyFromCompositingSurfaceToVideoFrame( 109 virtual void CopyFromCompositingSurfaceToVideoFrame(
110 const gfx::Rect& src_subrect, 110 const gfx::Rect& src_subrect,
111 const scoped_refptr<media::VideoFrame>& target, 111 const scoped_refptr<media::VideoFrame>& target,
112 const base::Callback<void(bool)>& callback) OVERRIDE; 112 const base::Callback<void(bool)>& callback) OVERRIDE;
113 virtual bool CanCopyToVideoFrame() const OVERRIDE; 113 virtual bool CanCopyToVideoFrame() const OVERRIDE;
114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
115 virtual void AcceleratedSurfaceInitialized(int host_id, 115 virtual void AcceleratedSurfaceInitialized(int host_id,
116 int route_id) OVERRIDE; 116 int route_id) OVERRIDE;
117 virtual void AcceleratedSurfaceBuffersSwapped( 117 virtual void AcceleratedSurfaceBuffersSwapped(
118 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 118 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; 330 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
331 331
332 ui::GtkSignalRegistrar signals_; 332 ui::GtkSignalRegistrar signals_;
333 333
334 std::vector<ui::LatencyInfo> software_latency_info_; 334 std::vector<ui::LatencyInfo> software_latency_info_;
335 }; 335 };
336 336
337 } // namespace content 337 } // namespace content
338 338
339 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ 339 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698