| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 TransportDIB::Handle transport_dib) OVERRIDE; | 114 TransportDIB::Handle transport_dib) OVERRIDE; |
| 115 virtual void AcceleratedSurfaceBuffersSwapped( | 115 virtual void AcceleratedSurfaceBuffersSwapped( |
| 116 gfx::PluginWindowHandle window, | 116 gfx::PluginWindowHandle window, |
| 117 uint64 surface_id, | 117 uint64 surface_id, |
| 118 int renderer_id, | 118 int renderer_id, |
| 119 int32 route_id, | 119 int32 route_id, |
| 120 int gpu_host_id) OVERRIDE; | 120 int gpu_host_id) OVERRIDE; |
| 121 #elif defined(OS_WIN) | 121 #elif defined(OS_WIN) |
| 122 virtual void WillWmDestroy() OVERRIDE; | 122 virtual void WillWmDestroy() OVERRIDE; |
| 123 #endif | 123 #endif |
| 124 #if defined(OS_POSIX) | 124 #if defined(OS_POSIX) || defined(USE_AURA) |
| 125 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 125 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
| 126 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 126 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
| 127 #endif | 127 #endif |
| 128 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { } | 128 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate) { } |
| 129 virtual void UnhandledWheelEvent( | 129 virtual void UnhandledWheelEvent( |
| 130 const WebKit::WebMouseWheelEvent& event) { } | 130 const WebKit::WebMouseWheelEvent& event) { } |
| 131 virtual void SetHasHorizontalScrollbar( | 131 virtual void SetHasHorizontalScrollbar( |
| 132 bool has_horizontal_scrollbar) { } | 132 bool has_horizontal_scrollbar) { } |
| 133 virtual void SetScrollOffsetPinning( | 133 virtual void SetScrollOffsetPinning( |
| 134 bool is_pinned_to_left, bool is_pinned_to_right) { } | 134 bool is_pinned_to_left, bool is_pinned_to_right) { } |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 MockRenderProcessHostFactory rph_factory_; | 333 MockRenderProcessHostFactory rph_factory_; |
| 334 TestRenderViewHostFactory rvh_factory_; | 334 TestRenderViewHostFactory rvh_factory_; |
| 335 | 335 |
| 336 private: | 336 private: |
| 337 scoped_ptr<TestTabContents> contents_; | 337 scoped_ptr<TestTabContents> contents_; |
| 338 | 338 |
| 339 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 339 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
| 340 }; | 340 }; |
| 341 | 341 |
| 342 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 342 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |