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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 141 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
142 bool processed) OVERRIDE { } | 142 bool processed) OVERRIDE { } |
143 virtual void SetHasHorizontalScrollbar( | 143 virtual void SetHasHorizontalScrollbar( |
144 bool has_horizontal_scrollbar) OVERRIDE { } | 144 bool has_horizontal_scrollbar) OVERRIDE { } |
145 virtual void SetScrollOffsetPinning( | 145 virtual void SetScrollOffsetPinning( |
146 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 146 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
147 | 147 |
148 #if defined(USE_AURA) | 148 #if defined(USE_AURA) |
149 virtual void AcceleratedSurfaceNew( | 149 virtual void AcceleratedSurfaceNew( |
150 int32 width, int32 height, uint64* surface_id, | 150 int32 width, int32 height, uint64* surface_id, |
151 TransportDIB::Handle* surface_handle) OVERRIDE { } | 151 TransportDIB::Handle* surface_handle, int32 route_id) OVERRIDE { } |
152 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } | 152 virtual void AcceleratedSurfaceRelease(uint64 surface_id) OVERRIDE { } |
153 #endif | 153 #endif |
154 | 154 |
155 #if defined(TOOLKIT_GTK) | 155 #if defined(TOOLKIT_GTK) |
156 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 156 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
157 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 157 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
158 #endif // defined(TOOLKIT_GTK) | 158 #endif // defined(TOOLKIT_GTK) |
159 | 159 |
160 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 160 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
161 | 161 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 TestRenderViewHost* active_test_rvh(); | 316 TestRenderViewHost* active_test_rvh(); |
317 TestWebContents* contents(); | 317 TestWebContents* contents(); |
318 | 318 |
319 private: | 319 private: |
320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
321 }; | 321 }; |
322 | 322 |
323 } // namespace content | 323 } // namespace content |
324 | 324 |
325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |