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

Side by Side Diff: content/test/test_render_view_host.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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 virtual void CopyFromCompositingSurface( 118 virtual void CopyFromCompositingSurface(
119 const gfx::Rect& src_subrect, 119 const gfx::Rect& src_subrect,
120 const gfx::Size& dst_size, 120 const gfx::Size& dst_size,
121 const base::Callback<void(bool, const SkBitmap&)>& callback, 121 const base::Callback<void(bool, const SkBitmap&)>& callback,
122 const SkBitmap::Config config) OVERRIDE; 122 const SkBitmap::Config config) OVERRIDE;
123 virtual void CopyFromCompositingSurfaceToVideoFrame( 123 virtual void CopyFromCompositingSurfaceToVideoFrame(
124 const gfx::Rect& src_subrect, 124 const gfx::Rect& src_subrect,
125 const scoped_refptr<media::VideoFrame>& target, 125 const scoped_refptr<media::VideoFrame>& target,
126 const base::Callback<void(bool)>& callback) OVERRIDE; 126 const base::Callback<void(bool)>& callback) OVERRIDE;
127 virtual bool CanCopyToVideoFrame() const OVERRIDE; 127 virtual bool CanCopyToVideoFrame() const OVERRIDE;
128 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
129 virtual void AcceleratedSurfaceInitialized(int host_id, 128 virtual void AcceleratedSurfaceInitialized(int host_id,
130 int route_id) OVERRIDE; 129 int route_id) OVERRIDE;
131 virtual void AcceleratedSurfaceBuffersSwapped( 130 virtual void AcceleratedSurfaceBuffersSwapped(
132 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 131 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
133 int gpu_host_id) OVERRIDE; 132 int gpu_host_id) OVERRIDE;
134 virtual void AcceleratedSurfacePostSubBuffer( 133 virtual void AcceleratedSurfacePostSubBuffer(
135 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 134 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
136 int gpu_host_id) OVERRIDE; 135 int gpu_host_id) OVERRIDE;
137 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 136 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
138 virtual void AcceleratedSurfaceRelease() OVERRIDE {} 137 virtual void AcceleratedSurfaceRelease() OVERRIDE {}
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 private: 376 private:
378 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 377 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
379 ScopedSetSupportedScaleFactors; 378 ScopedSetSupportedScaleFactors;
380 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 379 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
381 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
382 }; 381 };
383 382
384 } // namespace content 383 } // namespace content
385 384
386 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 385 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698