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

Side by Side Diff: content/renderer/render_view.h

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 webkit::ppapi::PluginModule* pepper_module); 298 webkit::ppapi::PluginModule* pepper_module);
299 299
300 // Creates a fullscreen container for a pepper plugin instance. 300 // Creates a fullscreen container for a pepper plugin instance.
301 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( 301 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer(
302 webkit::ppapi::PluginInstance* plugin); 302 webkit::ppapi::PluginInstance* plugin);
303 303
304 // Create a new plugin without checking the content settings. 304 // Create a new plugin without checking the content settings.
305 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, 305 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame,
306 const WebKit::WebPluginParams& params); 306 const WebKit::WebPluginParams& params);
307 307
308 // Informs the render view that the given plugin has gained or lost focus.
309 void PpapiPluginFocusChanged(bool focused);
310
308 #if defined(OS_MACOSX) 311 #if defined(OS_MACOSX)
309 // Informs the render view that the given plugin has gained or lost focus. 312 // Informs the render view that the given plugin has gained or lost focus.
310 void PluginFocusChanged(bool focused, int plugin_id); 313 void PluginFocusChanged(bool focused, int plugin_id);
311 314
312 // Starts plugin IME. 315 // Starts plugin IME.
313 void StartPluginIme(); 316 void StartPluginIme();
314 317
315 // Helper routines for accelerated plugin support. Used by the 318 // Helper routines for accelerated plugin support. Used by the
316 // WebPluginDelegateProxy, which has a pointer to the RenderView. 319 // WebPluginDelegateProxy, which has a pointer to the RenderView.
317 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, 320 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque,
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 // bunch of stuff, you should probably create a helper class and put your 1152 // bunch of stuff, you should probably create a helper class and put your
1150 // data and methods on that to avoid bloating RenderView more. You can use 1153 // data and methods on that to avoid bloating RenderView more. You can use
1151 // the Observer interface to filter IPC messages and receive frame change 1154 // the Observer interface to filter IPC messages and receive frame change
1152 // notifications. 1155 // notifications.
1153 // --------------------------------------------------------------------------- 1156 // ---------------------------------------------------------------------------
1154 1157
1155 DISALLOW_COPY_AND_ASSIGN(RenderView); 1158 DISALLOW_COPY_AND_ASSIGN(RenderView);
1156 }; 1159 };
1157 1160
1158 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ 1161 #endif // CONTENT_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698