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