| OLD | NEW |
| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( | 302 RenderWidgetFullscreenPepper* CreatePepperFullscreenContainer( |
| 303 webkit::ppapi::PluginInstance* plugin); | 303 webkit::ppapi::PluginInstance* plugin); |
| 304 | 304 |
| 305 // Create a new plugin without checking the content settings. | 305 // Create a new plugin without checking the content settings. |
| 306 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, | 306 WebKit::WebPlugin* CreatePluginNoCheck(WebKit::WebFrame* frame, |
| 307 const WebKit::WebPluginParams& params); | 307 const WebKit::WebPluginParams& params); |
| 308 | 308 |
| 309 // Informs the render view that a PPAPI plugin has gained or lost focus. | 309 // Informs the render view that a PPAPI plugin has gained or lost focus. |
| 310 void PpapiPluginFocusChanged(); | 310 void PpapiPluginFocusChanged(); |
| 311 | 311 |
| 312 #if defined(OS_WIN) |
| 313 // Notifies the IME status has been updated by a plug-in. When a render view |
| 314 // receives this message, it updates its IME status and dispatch it to a |
| 315 // browser process. |
| 316 void UpdatePluginIMEStatus(int input_type, const gfx::Rect& caret_rect); |
| 317 #endif |
| 318 |
| 312 #if defined(OS_MACOSX) | 319 #if defined(OS_MACOSX) |
| 313 // Informs the render view that the given plugin has gained or lost focus. | 320 // Informs the render view that the given plugin has gained or lost focus. |
| 314 void PluginFocusChanged(bool focused, int plugin_id); | 321 void PluginFocusChanged(bool focused, int plugin_id); |
| 315 | 322 |
| 316 // Starts plugin IME. | 323 // Starts plugin IME. |
| 317 void StartPluginIme(); | 324 void StartPluginIme(); |
| 318 | 325 |
| 319 // Helper routines for accelerated plugin support. Used by the | 326 // Helper routines for accelerated plugin support. Used by the |
| 320 // WebPluginDelegateProxy, which has a pointer to the RenderView. | 327 // WebPluginDelegateProxy, which has a pointer to the RenderView. |
| 321 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, | 328 gfx::PluginWindowHandle AllocateFakePluginWindowHandle(bool opaque, |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 // bunch of stuff, you should probably create a helper class and put your | 1165 // bunch of stuff, you should probably create a helper class and put your |
| 1159 // data and methods on that to avoid bloating RenderView more. You can use | 1166 // data and methods on that to avoid bloating RenderView more. You can use |
| 1160 // the Observer interface to filter IPC messages and receive frame change | 1167 // the Observer interface to filter IPC messages and receive frame change |
| 1161 // notifications. | 1168 // notifications. |
| 1162 // --------------------------------------------------------------------------- | 1169 // --------------------------------------------------------------------------- |
| 1163 | 1170 |
| 1164 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1171 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1165 }; | 1172 }; |
| 1166 | 1173 |
| 1167 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1174 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |