| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 int item_height, | 96 int item_height, |
| 97 double item_font_size, | 97 double item_font_size, |
| 98 int selected_item, | 98 int selected_item, |
| 99 const std::vector<WebMenuItem>& items, | 99 const std::vector<WebMenuItem>& items, |
| 100 bool right_aligned); | 100 bool right_aligned); |
| 101 virtual gfx::Rect GetWindowRect(); | 101 virtual gfx::Rect GetWindowRect(); |
| 102 virtual gfx::Rect GetRootWindowRect(); | 102 virtual gfx::Rect GetRootWindowRect(); |
| 103 virtual void SetActive(bool active); | 103 virtual void SetActive(bool active); |
| 104 virtual void SetWindowVisibility(bool visible) {} | 104 virtual void SetWindowVisibility(bool visible) {} |
| 105 virtual void WindowFrameChanged() {} | 105 virtual void WindowFrameChanged() {} |
| 106 virtual void SetPluginImeEnabled(bool enabled, int plugin_id); | 106 virtual void PluginFocusChanged(bool focused, int plugin_id); |
| 107 virtual void StartPluginIme(); |
| 107 virtual bool PostProcessEventForPluginIme( | 108 virtual bool PostProcessEventForPluginIme( |
| 108 const NativeWebKeyboardEvent& event); | 109 const NativeWebKeyboardEvent& event); |
| 109 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( | 110 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( |
| 110 bool opaque, | 111 bool opaque, |
| 111 bool root); | 112 bool root); |
| 112 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); | 113 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); |
| 113 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 114 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 114 int32 width, | 115 int32 width, |
| 115 int32 height, | 116 int32 height, |
| 116 uint64 surface_id); | 117 uint64 surface_id); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 | 291 |
| 291 MockRenderProcessHostFactory rph_factory_; | 292 MockRenderProcessHostFactory rph_factory_; |
| 292 TestRenderViewHostFactory rvh_factory_; | 293 TestRenderViewHostFactory rvh_factory_; |
| 293 | 294 |
| 294 scoped_ptr<TestTabContents> contents_; | 295 scoped_ptr<TestTabContents> contents_; |
| 295 | 296 |
| 296 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 297 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
| 297 }; | 298 }; |
| 298 | 299 |
| 299 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 300 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |