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

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

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased to ToT! 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_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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } 120 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { }
121 virtual void Destroy() OVERRIDE; 121 virtual void Destroy() OVERRIDE;
122 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {} 122 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE {}
123 virtual void SelectionBoundsChanged( 123 virtual void SelectionBoundsChanged(
124 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {} 124 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE {}
125 virtual void ScrollOffsetChanged() OVERRIDE {} 125 virtual void ScrollOffsetChanged() OVERRIDE {}
126 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; 126 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE;
127 virtual void CopyFromCompositingSurface( 127 virtual void CopyFromCompositingSurface(
128 const gfx::Rect& src_subrect, 128 const gfx::Rect& src_subrect,
129 const gfx::Size& dst_size, 129 const gfx::Size& dst_size,
130 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; 130 const base::Callback<void(bool, const SkBitmap&)>& callback,
131 bool readback_config_rgb565) OVERRIDE;
131 virtual void CopyFromCompositingSurfaceToVideoFrame( 132 virtual void CopyFromCompositingSurfaceToVideoFrame(
132 const gfx::Rect& src_subrect, 133 const gfx::Rect& src_subrect,
133 const scoped_refptr<media::VideoFrame>& target, 134 const scoped_refptr<media::VideoFrame>& target,
134 const base::Callback<void(bool)>& callback) OVERRIDE; 135 const base::Callback<void(bool)>& callback) OVERRIDE;
135 virtual bool CanCopyToVideoFrame() const OVERRIDE; 136 virtual bool CanCopyToVideoFrame() const OVERRIDE;
136 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; 137 virtual void OnAcceleratedCompositingStateChange() OVERRIDE;
137 virtual void AcceleratedSurfaceInitialized(int host_id, 138 virtual void AcceleratedSurfaceInitialized(int host_id,
138 int route_id) OVERRIDE; 139 int route_id) OVERRIDE;
139 virtual void AcceleratedSurfaceBuffersSwapped( 140 virtual void AcceleratedSurfaceBuffersSwapped(
140 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 141 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 private: 384 private:
384 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 385 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
385 ScopedSetSupportedScaleFactors; 386 ScopedSetSupportedScaleFactors;
386 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 387 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
387 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 388 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
388 }; 389 };
389 390
390 } // namespace content 391 } // namespace content
391 392
392 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 393 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/port/browser/render_widget_host_view_port.h ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698