| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 gfx::PluginWindowHandle window) OVERRIDE; | 124 gfx::PluginWindowHandle window) OVERRIDE; |
| 125 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 125 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 126 int32 width, | 126 int32 width, |
| 127 int32 height, | 127 int32 height, |
| 128 uint64 surface_id) OVERRIDE; | 128 uint64 surface_id) OVERRIDE; |
| 129 virtual void AcceleratedSurfaceSetTransportDIB( | 129 virtual void AcceleratedSurfaceSetTransportDIB( |
| 130 gfx::PluginWindowHandle window, | 130 gfx::PluginWindowHandle window, |
| 131 int32 width, | 131 int32 width, |
| 132 int32 height, | 132 int32 height, |
| 133 TransportDIB::Handle transport_dib) OVERRIDE; | 133 TransportDIB::Handle transport_dib) OVERRIDE; |
| 134 #elif defined(OS_ANDROID) |
| 135 virtual void StartContentIntent(const GURL&) OVERRIDE; |
| 134 #elif defined(OS_WIN) && !defined(USE_AURA) | 136 #elif defined(OS_WIN) && !defined(USE_AURA) |
| 135 virtual void WillWmDestroy() OVERRIDE; | 137 virtual void WillWmDestroy() OVERRIDE; |
| 136 #endif | 138 #endif |
| 137 #if defined(OS_POSIX) || defined(USE_AURA) | 139 #if defined(OS_POSIX) || defined(USE_AURA) |
| 138 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 140 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
| 139 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 141 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
| 140 #endif | 142 #endif |
| 141 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 143 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 142 bool processed) OVERRIDE { } | 144 bool processed) OVERRIDE { } |
| 143 virtual void SetHasHorizontalScrollbar( | 145 virtual void SetHasHorizontalScrollbar( |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 TestRenderViewHost* active_test_rvh(); | 318 TestRenderViewHost* active_test_rvh(); |
| 317 TestWebContents* contents(); | 319 TestWebContents* contents(); |
| 318 | 320 |
| 319 private: | 321 private: |
| 320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 321 }; | 323 }; |
| 322 | 324 |
| 323 } // namespace content | 325 } // namespace content |
| 324 | 326 |
| 325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 327 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |