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