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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 gfx::PluginWindowHandle window, | 112 gfx::PluginWindowHandle window, |
113 int32 width, | 113 int32 width, |
114 int32 height, | 114 int32 height, |
115 TransportDIB::Handle transport_dib) OVERRIDE; | 115 TransportDIB::Handle transport_dib) OVERRIDE; |
116 virtual void AcceleratedSurfaceBuffersSwapped( | 116 virtual void AcceleratedSurfaceBuffersSwapped( |
117 gfx::PluginWindowHandle window, | 117 gfx::PluginWindowHandle window, |
118 uint64 surface_id, | 118 uint64 surface_id, |
119 int renderer_id, | 119 int renderer_id, |
120 int32 route_id, | 120 int32 route_id, |
121 int gpu_host_id) OVERRIDE; | 121 int gpu_host_id) OVERRIDE; |
122 #elif defined(OS_WIN) | 122 #elif defined(OS_WIN) && !defined(USE_AURA) |
123 virtual void WillWmDestroy() OVERRIDE; | 123 virtual void WillWmDestroy() OVERRIDE; |
124 #endif | 124 #endif |
125 #if defined(OS_POSIX) || defined(USE_AURA) | 125 #if defined(OS_POSIX) || defined(USE_AURA) |
126 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 126 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
127 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 127 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; |
128 #endif | 128 #endif |
129 virtual void SetVisuallyDeemphasized(const SkColor* color, | 129 virtual void SetVisuallyDeemphasized(const SkColor* color, |
130 bool animate) OVERRIDE { } | 130 bool animate) OVERRIDE { } |
131 virtual void UnhandledWheelEvent( | 131 virtual void UnhandledWheelEvent( |
132 const WebKit::WebMouseWheelEvent& event) OVERRIDE { } | 132 const WebKit::WebMouseWheelEvent& event) OVERRIDE { } |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 MockRenderProcessHostFactory rph_factory_; | 336 MockRenderProcessHostFactory rph_factory_; |
337 TestRenderViewHostFactory rvh_factory_; | 337 TestRenderViewHostFactory rvh_factory_; |
338 | 338 |
339 private: | 339 private: |
340 scoped_ptr<TestTabContents> contents_; | 340 scoped_ptr<TestTabContents> contents_; |
341 | 341 |
342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
343 }; | 343 }; |
344 | 344 |
345 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 345 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |