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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 void OnOrientationChangeEvent(int orientation); | 975 void OnOrientationChangeEvent(int orientation); |
972 | 976 |
973 void OnPluginActionAt(const gfx::Point& location, | 977 void OnPluginActionAt(const gfx::Point& location, |
974 const WebKit::WebPluginAction& action); | 978 const WebKit::WebPluginAction& action); |
975 void OnMoveOrResizeStarted(); | 979 void OnMoveOrResizeStarted(); |
976 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 980 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
977 void OnPaste(); | 981 void OnPaste(); |
978 void OnPasteAndMatchStyle(); | 982 void OnPasteAndMatchStyle(); |
979 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); | 983 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); |
980 void OnRedo(); | 984 void OnRedo(); |
| 985 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle); |
981 void OnReloadFrame(); | 986 void OnReloadFrame(); |
982 void OnReplace(const string16& text); | 987 void OnReplace(const string16& text); |
983 CONTENT_EXPORT void OnReplaceAll(const string16& text); | 988 CONTENT_EXPORT void OnReplaceAll(const string16& text); |
984 void OnResetPageEncodingToDefault(); | 989 void OnResetPageEncodingToDefault(); |
985 void OnScriptEvalRequest(const string16& frame_xpath, | 990 void OnScriptEvalRequest(const string16& frame_xpath, |
986 const string16& jscript, | 991 const string16& jscript, |
987 int id, | 992 int id, |
988 bool notify_result); | 993 bool notify_result); |
989 void OnSelectAll(); | 994 void OnSelectAll(); |
990 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); | 995 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 // bunch of stuff, you should probably create a helper class and put your | 1579 // bunch of stuff, you should probably create a helper class and put your |
1575 // data and methods on that to avoid bloating RenderView more. You can | 1580 // data and methods on that to avoid bloating RenderView more. You can |
1576 // use the Observer interface to filter IPC messages and receive frame change | 1581 // use the Observer interface to filter IPC messages and receive frame change |
1577 // notifications. | 1582 // notifications. |
1578 // --------------------------------------------------------------------------- | 1583 // --------------------------------------------------------------------------- |
1579 | 1584 |
1580 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1585 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1581 }; | 1586 }; |
1582 | 1587 |
1583 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1588 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |