| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 int selected_item, | 89 int selected_item, |
| 90 const std::vector<WebMenuItem>& items, | 90 const std::vector<WebMenuItem>& items, |
| 91 bool right_aligned) {} | 91 bool right_aligned) {} |
| 92 virtual gfx::Rect GetWindowRect(); | 92 virtual gfx::Rect GetWindowRect(); |
| 93 virtual gfx::Rect GetRootWindowRect(); | 93 virtual gfx::Rect GetRootWindowRect(); |
| 94 virtual void SetActive(bool active); | 94 virtual void SetActive(bool active); |
| 95 virtual void SetWindowVisibility(bool visible) {} | 95 virtual void SetWindowVisibility(bool visible) {} |
| 96 virtual void WindowFrameChanged() {} | 96 virtual void WindowFrameChanged() {} |
| 97 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 97 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
| 98 bool opaque, | 98 bool opaque, |
| 99 bool can_draw_transparent, |
| 99 bool root); | 100 bool root); |
| 100 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 101 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
| 101 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 102 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 102 int32 width, | 103 int32 width, |
| 103 int32 height, | 104 int32 height, |
| 104 uint64 io_surface_identifier); | 105 uint64 io_surface_identifier); |
| 105 virtual void AcceleratedSurfaceSetTransportDIB( | 106 virtual void AcceleratedSurfaceSetTransportDIB( |
| 106 gfx::PluginWindowHandle window, | 107 gfx::PluginWindowHandle window, |
| 107 int32 width, | 108 int32 width, |
| 108 int32 height, | 109 int32 height, |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 305 |
| 305 MockRenderProcessHostFactory rph_factory_; | 306 MockRenderProcessHostFactory rph_factory_; |
| 306 TestRenderViewHostFactory rvh_factory_; | 307 TestRenderViewHostFactory rvh_factory_; |
| 307 | 308 |
| 308 scoped_ptr<TestTabContents> contents_; | 309 scoped_ptr<TestTabContents> contents_; |
| 309 | 310 |
| 310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 311 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
| 311 }; | 312 }; |
| 312 | 313 |
| 313 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 314 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |