| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // Informs the render view that a PPAPI plugin has gained or lost focus. | 264 // Informs the render view that a PPAPI plugin has gained or lost focus. |
| 265 void PpapiPluginFocusChanged(); | 265 void PpapiPluginFocusChanged(); |
| 266 | 266 |
| 267 // Informs the render view that a PPAPI plugin has changed text input status. | 267 // Informs the render view that a PPAPI plugin has changed text input status. |
| 268 void PpapiPluginTextInputTypeChanged(); | 268 void PpapiPluginTextInputTypeChanged(); |
| 269 void PpapiPluginCaretPositionChanged(); | 269 void PpapiPluginCaretPositionChanged(); |
| 270 | 270 |
| 271 // Cancels current composition. | 271 // Cancels current composition. |
| 272 void PpapiPluginCancelComposition(); | 272 void PpapiPluginCancelComposition(); |
| 273 | 273 |
| 274 // Informs the render view that a PPAPI plugin has changed selection. |
| 275 void PpapiPluginSelectionChanged(); |
| 276 |
| 274 // Retrieves the current caret position if a PPAPI plugin has focus. | 277 // Retrieves the current caret position if a PPAPI plugin has focus. |
| 275 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); | 278 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); |
| 276 | 279 |
| 277 #if defined(OS_MACOSX) || defined(OS_WIN) | 280 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 278 // Informs the render view that the given plugin has gained or lost focus. | 281 // Informs the render view that the given plugin has gained or lost focus. |
| 279 void PluginFocusChanged(bool focused, int plugin_id); | 282 void PluginFocusChanged(bool focused, int plugin_id); |
| 280 #endif | 283 #endif |
| 281 | 284 |
| 282 #if defined(OS_MACOSX) | 285 #if defined(OS_MACOSX) |
| 283 // Starts plugin IME. | 286 // Starts plugin IME. |
| (...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 // bunch of stuff, you should probably create a helper class and put your | 1307 // bunch of stuff, you should probably create a helper class and put your |
| 1305 // data and methods on that to avoid bloating RenderView more. You can | 1308 // data and methods on that to avoid bloating RenderView more. You can |
| 1306 // use the Observer interface to filter IPC messages and receive frame change | 1309 // use the Observer interface to filter IPC messages and receive frame change |
| 1307 // notifications. | 1310 // notifications. |
| 1308 // --------------------------------------------------------------------------- | 1311 // --------------------------------------------------------------------------- |
| 1309 | 1312 |
| 1310 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1313 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1311 }; | 1314 }; |
| 1312 | 1315 |
| 1313 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1316 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |