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

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

Issue 1412173003: cast: support cursor rendering for tab capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable cursor rendering on windows until resources are available Created 5 years, 1 month 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
« no previous file with comments | « content/test/BUILD.gn ('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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void SelectionBoundsChanged( 114 void SelectionBoundsChanged(
115 const ViewHostMsg_SelectionBounds_Params& params) override {} 115 const ViewHostMsg_SelectionBounds_Params& params) override {}
116 void CopyFromCompositingSurface( 116 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 ReadbackRequestCallback& callback, 119 const ReadbackRequestCallback& callback,
120 const SkColorType preferred_color_type) override; 120 const SkColorType preferred_color_type) override;
121 void CopyFromCompositingSurfaceToVideoFrame( 121 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(const gfx::Rect&, bool)>& callback) override;
125 bool CanCopyToVideoFrame() const override; 125 bool CanCopyToVideoFrame() const override;
126 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 126 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
127 #if defined(OS_MACOSX) 127 #if defined(OS_MACOSX)
128 bool PostProcessEventForPluginIme( 128 bool PostProcessEventForPluginIme(
129 const NativeWebKeyboardEvent& event) override; 129 const NativeWebKeyboardEvent& event) override;
130 #endif 130 #endif
131 void LockCompositingSurface() override {} 131 void LockCompositingSurface() override {}
132 void UnlockCompositingSurface() override {} 132 void UnlockCompositingSurface() override {}
133 void GetScreenInfo(blink::WebScreenInfo* results) override {} 133 void GetScreenInfo(blink::WebScreenInfo* results) override {}
134 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 134 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 private: 320 private:
321 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 321 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
322 ScopedSetSupportedScaleFactors; 322 ScopedSetSupportedScaleFactors;
323 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 323 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 324 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
325 }; 325 };
326 326
327 } // namespace content 327 } // namespace content
328 328
329 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 329 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698