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