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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 virtual void AcceleratedSurfacePostSubBuffer( | 108 virtual void AcceleratedSurfacePostSubBuffer( |
109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
110 int gpu_host_id) OVERRIDE; | 110 int gpu_host_id) OVERRIDE; |
111 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 111 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
112 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 112 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
113 #if defined(OS_MACOSX) | 113 #if defined(OS_MACOSX) |
114 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; | 114 virtual gfx::Rect GetViewCocoaBounds() const OVERRIDE; |
115 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; | 115 virtual void PluginFocusChanged(bool focused, int plugin_id) OVERRIDE; |
116 virtual void StartPluginIme() OVERRIDE; | 116 virtual void StartPluginIme() OVERRIDE; |
117 virtual bool PostProcessEventForPluginIme( | 117 virtual bool PostProcessEventForPluginIme( |
118 const NativeWebKeyboardEvent& event) OVERRIDE; | 118 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
119 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 119 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
120 bool opaque, | 120 bool opaque, |
121 bool root) OVERRIDE; | 121 bool root) OVERRIDE; |
122 virtual void DestroyFakePluginWindowHandle( | 122 virtual void DestroyFakePluginWindowHandle( |
123 gfx::PluginWindowHandle window) OVERRIDE; | 123 gfx::PluginWindowHandle window) OVERRIDE; |
124 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 124 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
125 int32 width, | 125 int32 width, |
126 int32 height, | 126 int32 height, |
127 uint64 surface_id) OVERRIDE; | 127 uint64 surface_id) OVERRIDE; |
128 virtual void AcceleratedSurfaceSetTransportDIB( | 128 virtual void AcceleratedSurfaceSetTransportDIB( |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 TestRenderViewHost* active_test_rvh(); | 314 TestRenderViewHost* active_test_rvh(); |
315 TestWebContents* contents(); | 315 TestWebContents* contents(); |
316 | 316 |
317 private: | 317 private: |
318 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 318 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
319 }; | 319 }; |
320 | 320 |
321 } // namespace content | 321 } // namespace content |
322 | 322 |
323 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 323 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |