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/browser/renderer_host/test_backing_store.h" | 5 #include "content/browser/renderer_host/test_backing_store.h" |
6 #include "content/browser/renderer_host/test_render_view_host.h" | 6 #include "content/browser/renderer_host/test_render_view_host.h" |
7 #include "content/browser/site_instance_impl.h" | 7 #include "content/browser/site_instance_impl.h" |
8 #include "content/browser/web_contents/navigation_controller_impl.h" | 8 #include "content/browser/web_contents/navigation_controller_impl.h" |
9 #include "content/browser/web_contents/test_web_contents.h" | 9 #include "content/browser/web_contents/test_web_contents.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 #elif defined(OS_WIN) && !defined(USE_AURA) | 176 #elif defined(OS_WIN) && !defined(USE_AURA) |
177 void TestRenderWidgetHostView::WillWmDestroy() { | 177 void TestRenderWidgetHostView::WillWmDestroy() { |
178 } | 178 } |
179 #endif | 179 #endif |
180 | 180 |
181 #if defined(OS_ANDROID) | 181 #if defined(OS_ANDROID) |
182 void TestRenderWidgetHostView::StartContentIntent(const GURL&) {} | 182 void TestRenderWidgetHostView::StartContentIntent(const GURL&) {} |
183 #endif | 183 #endif |
184 | 184 |
185 #if defined(OS_POSIX) || defined(USE_AURA) | 185 #if defined(OS_POSIX) || defined(USE_AURA) |
186 gfx::Rect TestRenderWidgetHostView::GetRootWindowBounds() { | 186 gfx::Rect TestRenderWidgetHostView::GetBoundsInRootWindow() { |
187 return gfx::Rect(); | 187 return gfx::Rect(); |
188 } | 188 } |
189 #endif | 189 #endif |
190 | 190 |
191 #if defined(TOOLKIT_GTK) | 191 #if defined(TOOLKIT_GTK) |
192 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { | 192 GdkEventButton* TestRenderWidgetHostView::GetLastMouseDown() { |
193 return NULL; | 193 return NULL; |
194 } | 194 } |
195 | 195 |
196 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { | 196 gfx::NativeView TestRenderWidgetHostView::BuildInputMethodsGtkMenu() { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 333 |
334 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { | 334 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { |
335 return static_cast<TestRenderViewHost*>(active_rvh()); | 335 return static_cast<TestRenderViewHost*>(active_rvh()); |
336 } | 336 } |
337 | 337 |
338 TestWebContents* RenderViewHostImplTestHarness::contents() { | 338 TestWebContents* RenderViewHostImplTestHarness::contents() { |
339 return static_cast<TestWebContents*>(web_contents()); | 339 return static_cast<TestWebContents*>(web_contents()); |
340 } | 340 } |
341 | 341 |
342 } // namespace content | 342 } // namespace content |
OLD | NEW |