| 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 "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" | 10 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 void TestRenderWidgetHostView::SpeakSelection() { | 164 void TestRenderWidgetHostView::SpeakSelection() { |
| 165 } | 165 } |
| 166 | 166 |
| 167 bool TestRenderWidgetHostView::IsSpeaking() const { | 167 bool TestRenderWidgetHostView::IsSpeaking() const { |
| 168 return false; | 168 return false; |
| 169 } | 169 } |
| 170 | 170 |
| 171 void TestRenderWidgetHostView::StopSpeaking() { | 171 void TestRenderWidgetHostView::StopSpeaking() { |
| 172 } | 172 } |
| 173 | 173 |
| 174 bool TestRenderWidgetHostView::PostProcessEventForPluginIme( | |
| 175 const NativeWebKeyboardEvent& event) { | |
| 176 return false; | |
| 177 } | |
| 178 | |
| 179 #endif | 174 #endif |
| 180 | 175 |
| 181 bool TestRenderWidgetHostView::GetScreenColorProfile( | 176 bool TestRenderWidgetHostView::GetScreenColorProfile( |
| 182 std::vector<char>* color_profile) { | 177 std::vector<char>* color_profile) { |
| 183 DCHECK(color_profile->empty()); | 178 DCHECK(color_profile->empty()); |
| 184 return false; | 179 return false; |
| 185 } | 180 } |
| 186 | 181 |
| 187 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { | 182 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { |
| 188 return gfx::Rect(); | 183 return gfx::Rect(); |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 | 311 |
| 317 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { | 312 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { |
| 318 return contents()->GetMainFrame(); | 313 return contents()->GetMainFrame(); |
| 319 } | 314 } |
| 320 | 315 |
| 321 TestWebContents* RenderViewHostImplTestHarness::contents() { | 316 TestWebContents* RenderViewHostImplTestHarness::contents() { |
| 322 return static_cast<TestWebContents*>(web_contents()); | 317 return static_cast<TestWebContents*>(web_contents()); |
| 323 } | 318 } |
| 324 | 319 |
| 325 } // namespace content | 320 } // namespace content |
| OLD | NEW |