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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 #endif | 141 #endif |
142 | 142 |
143 namespace WebKit { | 143 namespace WebKit { |
144 class WebApplicationCacheHost; | 144 class WebApplicationCacheHost; |
145 class WebApplicationCacheHostClient; | 145 class WebApplicationCacheHostClient; |
146 class WebCompositorOutputSurface; | 146 class WebCompositorOutputSurface; |
147 class WebDOMMessageEvent; | 147 class WebDOMMessageEvent; |
148 class WebDataSource; | 148 class WebDataSource; |
149 class WebDragData; | 149 class WebDragData; |
150 class WebGeolocationClient; | 150 class WebGeolocationClient; |
| 151 class WebGestureEvent; |
151 #if defined(OS_ANDROID) | 152 #if defined(OS_ANDROID) |
152 class WebHitTestResult; | 153 class WebHitTestResult; |
153 #endif | 154 #endif |
154 class WebIconURL; | 155 class WebIconURL; |
155 class WebImage; | 156 class WebImage; |
156 class WebPeerConnection00Handler; | 157 class WebPeerConnection00Handler; |
157 class WebPeerConnection00HandlerClient; | 158 class WebPeerConnection00HandlerClient; |
158 class WebMediaPlayer; | 159 class WebMediaPlayer; |
159 class WebMediaPlayerClient; | 160 class WebMediaPlayerClient; |
160 class WebMouseEvent; | 161 class WebMouseEvent; |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 virtual void startDragging(WebKit::WebFrame* frame, | 484 virtual void startDragging(WebKit::WebFrame* frame, |
484 const WebKit::WebDragData& data, | 485 const WebKit::WebDragData& data, |
485 WebKit::WebDragOperationsMask mask, | 486 WebKit::WebDragOperationsMask mask, |
486 const WebKit::WebImage& image, | 487 const WebKit::WebImage& image, |
487 const WebKit::WebPoint& imageOffset); | 488 const WebKit::WebPoint& imageOffset); |
488 virtual bool acceptsLoadDrops(); | 489 virtual bool acceptsLoadDrops(); |
489 virtual void focusNext(); | 490 virtual void focusNext(); |
490 virtual void focusPrevious(); | 491 virtual void focusPrevious(); |
491 virtual void focusedNodeChanged(const WebKit::WebNode& node); | 492 virtual void focusedNodeChanged(const WebKit::WebNode& node); |
492 virtual void didUpdateLayout(); | 493 virtual void didUpdateLayout(); |
| 494 virtual bool handleDisambiguationPopup(const WebKit::WebGestureEvent&, |
| 495 const WebKit::WebVector<WebKit::WebRect>& targetRects); |
493 virtual void navigateBackForwardSoon(int offset); | 496 virtual void navigateBackForwardSoon(int offset); |
494 virtual int historyBackListCount(); | 497 virtual int historyBackListCount(); |
495 virtual int historyForwardListCount(); | 498 virtual int historyForwardListCount(); |
496 virtual void postAccessibilityNotification( | 499 virtual void postAccessibilityNotification( |
497 const WebKit::WebAccessibilityObject& obj, | 500 const WebKit::WebAccessibilityObject& obj, |
498 WebKit::WebAccessibilityNotification notification); | 501 WebKit::WebAccessibilityNotification notification); |
499 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 502 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
500 const WebKit::WebString& value); | 503 const WebKit::WebString& value); |
501 virtual WebKit::WebGeolocationClient* geolocationClient(); | 504 virtual WebKit::WebGeolocationClient* geolocationClient(); |
502 virtual WebKit::WebSpeechInputController* speechInputController( | 505 virtual WebKit::WebSpeechInputController* speechInputController( |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 const WebKit::WebPluginAction& action); | 973 const WebKit::WebPluginAction& action); |
971 void OnMoveOrResizeStarted(); | 974 void OnMoveOrResizeStarted(); |
972 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 975 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
973 void OnPaste(); | 976 void OnPaste(); |
974 void OnPasteAndMatchStyle(); | 977 void OnPasteAndMatchStyle(); |
975 #if defined(OS_MACOSX) | 978 #if defined(OS_MACOSX) |
976 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); | 979 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); |
977 #endif | 980 #endif |
978 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); | 981 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); |
979 void OnRedo(); | 982 void OnRedo(); |
| 983 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); |
980 void OnReloadFrame(); | 984 void OnReloadFrame(); |
981 void OnReplace(const string16& text); | 985 void OnReplace(const string16& text); |
982 void OnResetPageEncodingToDefault(); | 986 void OnResetPageEncodingToDefault(); |
983 void OnScriptEvalRequest(const string16& frame_xpath, | 987 void OnScriptEvalRequest(const string16& frame_xpath, |
984 const string16& jscript, | 988 const string16& jscript, |
985 int id, | 989 int id, |
986 bool notify_result); | 990 bool notify_result); |
987 void OnSelectAll(); | 991 void OnSelectAll(); |
988 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 992 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
989 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode); | 993 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode); |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1479 // bunch of stuff, you should probably create a helper class and put your | 1483 // bunch of stuff, you should probably create a helper class and put your |
1480 // data and methods on that to avoid bloating RenderView more. You can | 1484 // data and methods on that to avoid bloating RenderView more. You can |
1481 // use the Observer interface to filter IPC messages and receive frame change | 1485 // use the Observer interface to filter IPC messages and receive frame change |
1482 // notifications. | 1486 // notifications. |
1483 // --------------------------------------------------------------------------- | 1487 // --------------------------------------------------------------------------- |
1484 | 1488 |
1485 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1489 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1486 }; | 1490 }; |
1487 | 1491 |
1488 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1492 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |