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

Side by Side Diff: content/test/test_render_view_host.h

Issue 571413002: Declare a new name for CompositingSurface completion callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build issue. Created 6 years, 3 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_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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 #endif 109 #endif
110 virtual void RenderProcessGone(base::TerminationStatus status, 110 virtual void RenderProcessGone(base::TerminationStatus status,
111 int error_code) OVERRIDE; 111 int error_code) OVERRIDE;
112 virtual void Destroy() OVERRIDE; 112 virtual void Destroy() OVERRIDE;
113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} 113 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {}
114 virtual void SelectionBoundsChanged( 114 virtual void SelectionBoundsChanged(
115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 115 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
116 virtual void CopyFromCompositingSurface( 116 virtual void CopyFromCompositingSurface(
117 const gfx::Rect& src_subrect, 117 const gfx::Rect& src_subrect,
118 const gfx::Size& dst_size, 118 const gfx::Size& dst_size,
119 const base::Callback<void(bool, const SkBitmap&)>& callback, 119 CopyFromCompositingSurfaceCallback& callback,
120 const SkColorType color_type) OVERRIDE; 120 const SkColorType color_type) OVERRIDE;
121 virtual void CopyFromCompositingSurfaceToVideoFrame( 121 virtual void CopyFromCompositingSurfaceToVideoFrame(
122 const gfx::Rect& src_subrect, 122 const gfx::Rect& src_subrect,
123 const scoped_refptr<media::VideoFrame>& target, 123 const scoped_refptr<media::VideoFrame>& target,
124 const base::Callback<void(bool)>& callback) OVERRIDE; 124 const base::Callback<void(bool)>& callback) OVERRIDE;
125 virtual bool CanCopyToVideoFrame() const OVERRIDE; 125 virtual bool CanCopyToVideoFrame() const OVERRIDE;
126 virtual void AcceleratedSurfaceInitialized(int host_id, 126 virtual void AcceleratedSurfaceInitialized(int host_id,
127 int route_id) OVERRIDE; 127 int route_id) OVERRIDE;
128 virtual void AcceleratedSurfaceBuffersSwapped( 128 virtual void AcceleratedSurfaceBuffersSwapped(
129 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 129 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 private: 399 private:
400 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 400 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
401 ScopedSetSupportedScaleFactors; 401 ScopedSetSupportedScaleFactors;
402 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 402 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
403 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 403 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
404 }; 404 };
405 405
406 } // namespace content 406 } // namespace content
407 407
408 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 408 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698