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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 #endif | 146 #endif |
147 | 147 |
148 namespace WebKit { | 148 namespace WebKit { |
149 class WebApplicationCacheHost; | 149 class WebApplicationCacheHost; |
150 class WebApplicationCacheHostClient; | 150 class WebApplicationCacheHostClient; |
151 class WebCompositorOutputSurface; | 151 class WebCompositorOutputSurface; |
152 class WebDOMMessageEvent; | 152 class WebDOMMessageEvent; |
153 class WebDataSource; | 153 class WebDataSource; |
154 class WebDragData; | 154 class WebDragData; |
155 class WebGeolocationClient; | 155 class WebGeolocationClient; |
| 156 class WebGestureEvent; |
156 #if defined(OS_ANDROID) | 157 #if defined(OS_ANDROID) |
157 class WebHitTestResult; | 158 class WebHitTestResult; |
158 #endif | 159 #endif |
159 class WebIconURL; | 160 class WebIconURL; |
160 class WebImage; | 161 class WebImage; |
161 class WebPeerConnection00Handler; | 162 class WebPeerConnection00Handler; |
162 class WebPeerConnection00HandlerClient; | 163 class WebPeerConnection00HandlerClient; |
163 class WebMediaPlayer; | 164 class WebMediaPlayer; |
164 class WebMediaPlayerClient; | 165 class WebMediaPlayerClient; |
165 class WebMouseEvent; | 166 class WebMouseEvent; |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 WebKit::WebDragOperationsMask mask, | 489 WebKit::WebDragOperationsMask mask, |
489 const WebKit::WebImage& image, | 490 const WebKit::WebImage& image, |
490 const WebKit::WebPoint& imageOffset); | 491 const WebKit::WebPoint& imageOffset); |
491 virtual bool acceptsLoadDrops(); | 492 virtual bool acceptsLoadDrops(); |
492 virtual void focusNext(); | 493 virtual void focusNext(); |
493 virtual void focusPrevious(); | 494 virtual void focusPrevious(); |
494 virtual void focusedNodeChanged(const WebKit::WebNode& node); | 495 virtual void focusedNodeChanged(const WebKit::WebNode& node); |
495 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 496 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
496 virtual void hasTouchEventHandlers(bool has_handlers); | 497 virtual void hasTouchEventHandlers(bool has_handlers); |
497 virtual void didUpdateLayout(); | 498 virtual void didUpdateLayout(); |
| 499 virtual bool didTapMultipleTargets( |
| 500 const WebKit::WebGestureEvent& event, |
| 501 const WebKit::WebVector<WebKit::WebRect>& target_rects); |
498 virtual void navigateBackForwardSoon(int offset); | 502 virtual void navigateBackForwardSoon(int offset); |
499 virtual int historyBackListCount(); | 503 virtual int historyBackListCount(); |
500 virtual int historyForwardListCount(); | 504 virtual int historyForwardListCount(); |
501 virtual void postAccessibilityNotification( | 505 virtual void postAccessibilityNotification( |
502 const WebKit::WebAccessibilityObject& obj, | 506 const WebKit::WebAccessibilityObject& obj, |
503 WebKit::WebAccessibilityNotification notification); | 507 WebKit::WebAccessibilityNotification notification); |
504 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 508 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
505 const WebKit::WebString& value); | 509 const WebKit::WebString& value); |
506 virtual WebKit::WebGeolocationClient* geolocationClient(); | 510 virtual WebKit::WebGeolocationClient* geolocationClient(); |
507 virtual WebKit::WebSpeechInputController* speechInputController( | 511 virtual WebKit::WebSpeechInputController* speechInputController( |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 void OnOrientationChangeEvent(int orientation); | 978 void OnOrientationChangeEvent(int orientation); |
975 | 979 |
976 void OnPluginActionAt(const gfx::Point& location, | 980 void OnPluginActionAt(const gfx::Point& location, |
977 const WebKit::WebPluginAction& action); | 981 const WebKit::WebPluginAction& action); |
978 void OnMoveOrResizeStarted(); | 982 void OnMoveOrResizeStarted(); |
979 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 983 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
980 void OnPaste(); | 984 void OnPaste(); |
981 void OnPasteAndMatchStyle(); | 985 void OnPasteAndMatchStyle(); |
982 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); | 986 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); |
983 void OnRedo(); | 987 void OnRedo(); |
| 988 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); |
984 void OnReloadFrame(); | 989 void OnReloadFrame(); |
985 void OnReplace(const string16& text); | 990 void OnReplace(const string16& text); |
986 CONTENT_EXPORT void OnReplaceAll(const string16& text); | 991 CONTENT_EXPORT void OnReplaceAll(const string16& text); |
987 void OnResetPageEncodingToDefault(); | 992 void OnResetPageEncodingToDefault(); |
988 void OnScriptEvalRequest(const string16& frame_xpath, | 993 void OnScriptEvalRequest(const string16& frame_xpath, |
989 const string16& jscript, | 994 const string16& jscript, |
990 int id, | 995 int id, |
991 bool notify_result); | 996 bool notify_result); |
992 void OnSelectAll(); | 997 void OnSelectAll(); |
993 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 998 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1591 // bunch of stuff, you should probably create a helper class and put your | 1596 // bunch of stuff, you should probably create a helper class and put your |
1592 // data and methods on that to avoid bloating RenderView more. You can | 1597 // data and methods on that to avoid bloating RenderView more. You can |
1593 // use the Observer interface to filter IPC messages and receive frame change | 1598 // use the Observer interface to filter IPC messages and receive frame change |
1594 // notifications. | 1599 // notifications. |
1595 // --------------------------------------------------------------------------- | 1600 // --------------------------------------------------------------------------- |
1596 | 1601 |
1597 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1602 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1598 }; | 1603 }; |
1599 | 1604 |
1600 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1605 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |