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