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

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

Issue 274163004: Remove browser-side tracking of accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void CopyFromCompositingSurface( 87 virtual void CopyFromCompositingSurface(
88 const gfx::Rect& src_subrect, 88 const gfx::Rect& src_subrect,
89 const gfx::Size& dst_size, 89 const gfx::Size& dst_size,
90 const base::Callback<void(bool, const SkBitmap&)>& callback, 90 const base::Callback<void(bool, const SkBitmap&)>& callback,
91 const SkBitmap::Config config) OVERRIDE; 91 const SkBitmap::Config config) OVERRIDE;
92 virtual void CopyFromCompositingSurfaceToVideoFrame( 92 virtual void CopyFromCompositingSurfaceToVideoFrame(
93 const gfx::Rect& src_subrect, 93 const gfx::Rect& src_subrect,
94 const scoped_refptr<media::VideoFrame>& target, 94 const scoped_refptr<media::VideoFrame>& target,
95 const base::Callback<void(bool)>& callback) OVERRIDE; 95 const base::Callback<void(bool)>& callback) OVERRIDE;
96 virtual bool CanCopyToVideoFrame() const OVERRIDE; 96 virtual bool CanCopyToVideoFrame() const OVERRIDE;
97 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
98 virtual void AcceleratedSurfaceInitialized(int host_id, 97 virtual void AcceleratedSurfaceInitialized(int host_id,
99 int route_id) OVERRIDE; 98 int route_id) OVERRIDE;
100 virtual void AcceleratedSurfaceBuffersSwapped( 99 virtual void AcceleratedSurfaceBuffersSwapped(
101 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 100 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
102 int gpu_host_id) OVERRIDE; 101 int gpu_host_id) OVERRIDE;
103 virtual void AcceleratedSurfacePostSubBuffer( 102 virtual void AcceleratedSurfacePostSubBuffer(
104 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 103 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
105 int gpu_host_id) OVERRIDE; 104 int gpu_host_id) OVERRIDE;
106 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 105 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
107 virtual void AcceleratedSurfaceRelease() OVERRIDE; 106 virtual void AcceleratedSurfaceRelease() OVERRIDE;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // sent through it are routed to the embedding renderer process. 167 // sent through it are routed to the embedding renderer process.
169 CrossProcessFrameConnector* frame_connector_; 168 CrossProcessFrameConnector* frame_connector_;
170 169
171 private: 170 private:
172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
173 }; 172 };
174 173
175 } // namespace content 174 } // namespace content
176 175
177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698