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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected indentation. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/browser/renderer_host/render_widget_host_view_base.h" 9 #include "content/browser/renderer_host/render_widget_host_view_base.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void SelectionChanged(const base::string16& text, 90 virtual void SelectionChanged(const base::string16& text,
91 size_t offset, 91 size_t offset,
92 const gfx::Range& range) OVERRIDE; 92 const gfx::Range& range) OVERRIDE;
93 virtual void SelectionBoundsChanged( 93 virtual void SelectionBoundsChanged(
94 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; 94 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE;
95 virtual void ScrollOffsetChanged() OVERRIDE; 95 virtual void ScrollOffsetChanged() OVERRIDE;
96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 96 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
97 virtual void CopyFromCompositingSurface( 97 virtual void CopyFromCompositingSurface(
98 const gfx::Rect& src_subrect, 98 const gfx::Rect& src_subrect,
99 const gfx::Size& dst_size, 99 const gfx::Size& dst_size,
100 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 100 const base::Callback<void(bool, const SkBitmap&)>& callback,
101 bool readback_config_rgb565) OVERRIDE;
101 virtual void CopyFromCompositingSurfaceToVideoFrame( 102 virtual void CopyFromCompositingSurfaceToVideoFrame(
102 const gfx::Rect& src_subrect, 103 const gfx::Rect& src_subrect,
103 const scoped_refptr<media::VideoFrame>& target, 104 const scoped_refptr<media::VideoFrame>& target,
104 const base::Callback<void(bool)>& callback) OVERRIDE; 105 const base::Callback<void(bool)>& callback) OVERRIDE;
105 virtual bool CanCopyToVideoFrame() const OVERRIDE; 106 virtual bool CanCopyToVideoFrame() const OVERRIDE;
106 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 107 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
107 virtual void AcceleratedSurfaceInitialized(int host_id, 108 virtual void AcceleratedSurfaceInitialized(int host_id,
108 int route_id) OVERRIDE; 109 int route_id) OVERRIDE;
109 virtual void AcceleratedSurfaceBuffersSwapped( 110 virtual void AcceleratedSurfaceBuffersSwapped(
110 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 111 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 187
187 gfx::Size size_; 188 gfx::Size size_;
188 189
189 private: 190 private:
190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 191 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
191 }; 192 };
192 193
193 } // namespace content 194 } // namespace content
194 195
195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 196 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698