| 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 // Informs the render view that a PPAPI plugin has changed text input status. | 322 // Informs the render view that a PPAPI plugin has changed text input status. |
| 323 void PpapiPluginTextInputTypeChanged(); | 323 void PpapiPluginTextInputTypeChanged(); |
| 324 void PpapiPluginCaretPositionChanged(); | 324 void PpapiPluginCaretPositionChanged(); |
| 325 | 325 |
| 326 // Cancels current composition. | 326 // Cancels current composition. |
| 327 void PpapiPluginCancelComposition(); | 327 void PpapiPluginCancelComposition(); |
| 328 | 328 |
| 329 // Informs the render view that a PPAPI plugin has changed selection. | 329 // Informs the render view that a PPAPI plugin has changed selection. |
| 330 void PpapiPluginSelectionChanged(); | 330 void PpapiPluginSelectionChanged(); |
| 331 | 331 |
| 332 // Notification that a PPAPI plugin has been created. |
| 333 void PpapiPluginCreated(ppapi::host::PpapiHost* host); |
| 334 |
| 332 // Retrieves the current caret position if a PPAPI plugin has focus. | 335 // Retrieves the current caret position if a PPAPI plugin has focus. |
| 333 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); | 336 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); |
| 334 | 337 |
| 335 // Simulates IME events for testing purpose. | 338 // Simulates IME events for testing purpose. |
| 336 void SimulateImeSetComposition( | 339 void SimulateImeSetComposition( |
| 337 const string16& text, | 340 const string16& text, |
| 338 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 341 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
| 339 int selection_start, | 342 int selection_start, |
| 340 int selection_end); | 343 int selection_end); |
| 341 void SimulateImeConfirmComposition(const string16& text, | 344 void SimulateImeConfirmComposition(const string16& text, |
| (...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 // bunch of stuff, you should probably create a helper class and put your | 1432 // bunch of stuff, you should probably create a helper class and put your |
| 1430 // data and methods on that to avoid bloating RenderView more. You can | 1433 // data and methods on that to avoid bloating RenderView more. You can |
| 1431 // use the Observer interface to filter IPC messages and receive frame change | 1434 // use the Observer interface to filter IPC messages and receive frame change |
| 1432 // notifications. | 1435 // notifications. |
| 1433 // --------------------------------------------------------------------------- | 1436 // --------------------------------------------------------------------------- |
| 1434 | 1437 |
| 1435 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1438 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1436 }; | 1439 }; |
| 1437 | 1440 |
| 1438 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1441 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |