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