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

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

Issue 116103002: Remove code only used by Mac single threaded compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pull out a bit more Created 7 years 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/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 "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
10 #include "content/browser/site_instance_impl.h" 10 #include "content/browser/site_instance_impl.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void TestRenderWidgetHostView::AcceleratedSurfaceSuspend() { 149 void TestRenderWidgetHostView::AcceleratedSurfaceSuspend() {
150 } 150 }
151 151
152 bool TestRenderWidgetHostView::HasAcceleratedSurface( 152 bool TestRenderWidgetHostView::HasAcceleratedSurface(
153 const gfx::Size& desired_size) { 153 const gfx::Size& desired_size) {
154 return false; 154 return false;
155 } 155 }
156 156
157 #if defined(OS_MACOSX) 157 #if defined(OS_MACOSX)
158 158
159 void TestRenderWidgetHostView::AboutToWaitForBackingStoreMsg() {
160 }
161
162 void TestRenderWidgetHostView::SetActive(bool active) { 159 void TestRenderWidgetHostView::SetActive(bool active) {
163 // <viettrungluu@gmail.com>: Do I need to do anything here? 160 // <viettrungluu@gmail.com>: Do I need to do anything here?
164 } 161 }
165 162
166 bool TestRenderWidgetHostView::SupportsSpeech() const { 163 bool TestRenderWidgetHostView::SupportsSpeech() const {
167 return false; 164 return false;
168 } 165 }
169 166
170 void TestRenderWidgetHostView::SpeakSelection() { 167 void TestRenderWidgetHostView::SpeakSelection() {
171 } 168 }
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 435
439 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 436 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
440 return static_cast<TestRenderFrameHost*>(main_rfh()); 437 return static_cast<TestRenderFrameHost*>(main_rfh());
441 } 438 }
442 439
443 TestWebContents* RenderViewHostImplTestHarness::contents() { 440 TestWebContents* RenderViewHostImplTestHarness::contents() {
444 return static_cast<TestWebContents*>(web_contents()); 441 return static_cast<TestWebContents*>(web_contents());
445 } 442 }
446 443
447 } // namespace content 444 } // 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