Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 3782012: Merge 62820 - Implement IME for Mac plugins using the Cocoa event model on 10... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 int item_height, 94 int item_height,
95 double item_font_size, 95 double item_font_size,
96 int selected_item, 96 int selected_item,
97 const std::vector<WebMenuItem>& items, 97 const std::vector<WebMenuItem>& items,
98 bool right_aligned); 98 bool right_aligned);
99 virtual gfx::Rect GetWindowRect(); 99 virtual gfx::Rect GetWindowRect();
100 virtual gfx::Rect GetRootWindowRect(); 100 virtual gfx::Rect GetRootWindowRect();
101 virtual void SetActive(bool active); 101 virtual void SetActive(bool active);
102 virtual void SetWindowVisibility(bool visible) {} 102 virtual void SetWindowVisibility(bool visible) {}
103 virtual void WindowFrameChanged() {} 103 virtual void WindowFrameChanged() {}
104 virtual void SetPluginImeEnabled(bool enabled, int plugin_id);
105 virtual bool PostProcessEventForPluginIme(
106 const NativeWebKeyboardEvent& event);
104 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( 107 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(
105 bool opaque, 108 bool opaque,
106 bool root); 109 bool root);
107 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window); 110 virtual void DestroyFakePluginWindowHandle(gfx::PluginWindowHandle window);
108 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, 111 virtual void AcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window,
109 int32 width, 112 int32 width,
110 int32 height, 113 int32 height,
111 uint64 io_surface_identifier); 114 uint64 io_surface_identifier);
112 virtual void AcceleratedSurfaceSetTransportDIB( 115 virtual void AcceleratedSurfaceSetTransportDIB(
113 gfx::PluginWindowHandle window, 116 gfx::PluginWindowHandle window,
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 278
276 MockRenderProcessHostFactory rph_factory_; 279 MockRenderProcessHostFactory rph_factory_;
277 TestRenderViewHostFactory rvh_factory_; 280 TestRenderViewHostFactory rvh_factory_;
278 281
279 scoped_ptr<TestTabContents> contents_; 282 scoped_ptr<TestTabContents> contents_;
280 283
281 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 284 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
282 }; 285 };
283 286
284 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 287 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698