| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 double item_font_size, | 87 double item_font_size, |
| 88 int selected_item, | 88 int selected_item, |
| 89 const std::vector<WebMenuItem>& items, | 89 const std::vector<WebMenuItem>& items, |
| 90 bool right_aligned) {} | 90 bool right_aligned) {} |
| 91 virtual gfx::Rect GetWindowRect(); | 91 virtual gfx::Rect GetWindowRect(); |
| 92 virtual gfx::Rect GetRootWindowRect(); | 92 virtual gfx::Rect GetRootWindowRect(); |
| 93 virtual void SetActive(bool active); | 93 virtual void SetActive(bool active); |
| 94 virtual void SetWindowVisibility(bool visible) {} | 94 virtual void SetWindowVisibility(bool visible) {} |
| 95 virtual void WindowFrameChanged() {} | 95 virtual void WindowFrameChanged() {} |
| 96 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 96 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
| 97 bool opaque); | 97 bool opaque, |
| 98 bool root); |
| 98 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 99 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
| 99 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 100 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 100 int32 width, | 101 int32 width, |
| 101 int32 height, | 102 int32 height, |
| 102 uint64 io_surface_identifier); | 103 uint64 io_surface_identifier); |
| 103 virtual void AcceleratedSurfaceSetTransportDIB( | 104 virtual void AcceleratedSurfaceSetTransportDIB( |
| 104 gfx::PluginWindowHandle window, | 105 gfx::PluginWindowHandle window, |
| 105 int32 width, | 106 int32 width, |
| 106 int32 height, | 107 int32 height, |
| 107 TransportDIB::Handle transport_dib); | 108 TransportDIB::Handle transport_dib); |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 304 |
| 304 MockRenderProcessHostFactory rph_factory_; | 305 MockRenderProcessHostFactory rph_factory_; |
| 305 TestRenderViewHostFactory rvh_factory_; | 306 TestRenderViewHostFactory rvh_factory_; |
| 306 | 307 |
| 307 scoped_ptr<TestTabContents> contents_; | 308 scoped_ptr<TestTabContents> contents_; |
| 308 | 309 |
| 309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 310 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
| 310 }; | 311 }; |
| 311 | 312 |
| 312 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 313 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |