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

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

Issue 2085973004: Color: Remove ViewMsg_ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't change profile yet Created 4 years, 6 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
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | 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 #include "content/test/test_render_view_host.h" 5 #include "content/test/test_render_view_host.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 bool TestRenderWidgetHostView::IsSpeaking() const { 182 bool TestRenderWidgetHostView::IsSpeaking() const {
183 return false; 183 return false;
184 } 184 }
185 185
186 void TestRenderWidgetHostView::StopSpeaking() { 186 void TestRenderWidgetHostView::StopSpeaking() {
187 } 187 }
188 188
189 #endif 189 #endif
190 190
191 bool TestRenderWidgetHostView::GetScreenColorProfile(
192 std::vector<char>* color_profile) {
193 DCHECK(color_profile->empty());
194 return false;
195 }
196
197 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { 191 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() {
198 return gfx::Rect(); 192 return gfx::Rect();
199 } 193 }
200 194
201 void TestRenderWidgetHostView::OnSwapCompositorFrame( 195 void TestRenderWidgetHostView::OnSwapCompositorFrame(
202 uint32_t output_surface_id, 196 uint32_t output_surface_id,
203 std::unique_ptr<cc::CompositorFrame> frame) { 197 std::unique_ptr<cc::CompositorFrame> frame) {
204 did_swap_compositor_frame_ = true; 198 did_swap_compositor_frame_ = true;
205 } 199 }
206 200
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 328
335 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 329 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
336 return contents()->GetMainFrame(); 330 return contents()->GetMainFrame();
337 } 331 }
338 332
339 TestWebContents* RenderViewHostImplTestHarness::contents() { 333 TestWebContents* RenderViewHostImplTestHarness::contents() {
340 return static_cast<TestWebContents*>(web_contents()); 334 return static_cast<TestWebContents*>(web_contents());
341 } 335 }
342 336
343 } // namespace content 337 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698