OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |