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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 class WebPluginDelegateProxy; | 89 class WebPluginDelegateProxy; |
90 class WebUIBindings; | 90 class WebUIBindings; |
91 | 91 |
92 namespace content { | 92 namespace content { |
93 class DocumentState; | 93 class DocumentState; |
94 class NavigationState; | 94 class NavigationState; |
95 class P2PSocketDispatcher; | 95 class P2PSocketDispatcher; |
96 class RenderViewObserver; | 96 class RenderViewObserver; |
97 class RenderViewTest; | 97 class RenderViewTest; |
98 class RendererAccessibility; | 98 class RendererAccessibility; |
| 99 class RendererPpapiHost; |
99 struct CustomContextMenuContext; | 100 struct CustomContextMenuContext; |
100 struct FileChooserParams; | 101 struct FileChooserParams; |
101 | 102 |
102 namespace old { | 103 namespace old { |
103 class GuestToEmbedderChannel; | 104 class GuestToEmbedderChannel; |
104 } | 105 } |
105 | 106 |
106 } // namespace content | 107 } // namespace content |
107 | 108 |
108 namespace gfx { | 109 namespace gfx { |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 void PpapiPluginTextInputTypeChanged(); | 328 void PpapiPluginTextInputTypeChanged(); |
328 void PpapiPluginCaretPositionChanged(); | 329 void PpapiPluginCaretPositionChanged(); |
329 | 330 |
330 // Cancels current composition. | 331 // Cancels current composition. |
331 void PpapiPluginCancelComposition(); | 332 void PpapiPluginCancelComposition(); |
332 | 333 |
333 // Informs the render view that a PPAPI plugin has changed selection. | 334 // Informs the render view that a PPAPI plugin has changed selection. |
334 void PpapiPluginSelectionChanged(); | 335 void PpapiPluginSelectionChanged(); |
335 | 336 |
336 // Notification that a PPAPI plugin has been created. | 337 // Notification that a PPAPI plugin has been created. |
337 void PpapiPluginCreated(ppapi::host::PpapiHost* host); | 338 void PpapiPluginCreated(content::RendererPpapiHost* host); |
338 | 339 |
339 // Retrieves the current caret position if a PPAPI plugin has focus. | 340 // Retrieves the current caret position if a PPAPI plugin has focus. |
340 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); | 341 bool GetPpapiPluginCaretBounds(gfx::Rect* rect); |
341 | 342 |
342 // Simulates IME events for testing purpose. | 343 // Simulates IME events for testing purpose. |
343 void SimulateImeSetComposition( | 344 void SimulateImeSetComposition( |
344 const string16& text, | 345 const string16& text, |
345 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 346 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
346 int selection_start, | 347 int selection_start, |
347 int selection_end); | 348 int selection_end); |
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 // bunch of stuff, you should probably create a helper class and put your | 1446 // bunch of stuff, you should probably create a helper class and put your |
1446 // data and methods on that to avoid bloating RenderView more. You can | 1447 // data and methods on that to avoid bloating RenderView more. You can |
1447 // use the Observer interface to filter IPC messages and receive frame change | 1448 // use the Observer interface to filter IPC messages and receive frame change |
1448 // notifications. | 1449 // notifications. |
1449 // --------------------------------------------------------------------------- | 1450 // --------------------------------------------------------------------------- |
1450 | 1451 |
1451 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1452 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1452 }; | 1453 }; |
1453 | 1454 |
1454 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1455 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |