Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10885004: Implement disambiguation popup (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rename IPCs, move popup size calculation to helper class Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 #endif 142 #endif
143 143
144 namespace WebKit { 144 namespace WebKit {
145 class WebApplicationCacheHost; 145 class WebApplicationCacheHost;
146 class WebApplicationCacheHostClient; 146 class WebApplicationCacheHostClient;
147 class WebCompositorOutputSurface; 147 class WebCompositorOutputSurface;
148 class WebDOMMessageEvent; 148 class WebDOMMessageEvent;
149 class WebDataSource; 149 class WebDataSource;
150 class WebDragData; 150 class WebDragData;
151 class WebGeolocationClient; 151 class WebGeolocationClient;
152 class WebGestureEvent;
152 #if defined(OS_ANDROID) 153 #if defined(OS_ANDROID)
153 class WebHitTestResult; 154 class WebHitTestResult;
154 #endif 155 #endif
155 class WebIconURL; 156 class WebIconURL;
156 class WebImage; 157 class WebImage;
157 class WebPeerConnection00Handler; 158 class WebPeerConnection00Handler;
158 class WebPeerConnection00HandlerClient; 159 class WebPeerConnection00HandlerClient;
159 class WebMediaPlayer; 160 class WebMediaPlayer;
160 class WebMediaPlayerClient; 161 class WebMediaPlayerClient;
161 class WebMouseEvent; 162 class WebMouseEvent;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 virtual void startDragging(WebKit::WebFrame* frame, 485 virtual void startDragging(WebKit::WebFrame* frame,
485 const WebKit::WebDragData& data, 486 const WebKit::WebDragData& data,
486 WebKit::WebDragOperationsMask mask, 487 WebKit::WebDragOperationsMask mask,
487 const WebKit::WebImage& image, 488 const WebKit::WebImage& image,
488 const WebKit::WebPoint& imageOffset); 489 const WebKit::WebPoint& imageOffset);
489 virtual bool acceptsLoadDrops(); 490 virtual bool acceptsLoadDrops();
490 virtual void focusNext(); 491 virtual void focusNext();
491 virtual void focusPrevious(); 492 virtual void focusPrevious();
492 virtual void focusedNodeChanged(const WebKit::WebNode& node); 493 virtual void focusedNodeChanged(const WebKit::WebNode& node);
493 virtual void didUpdateLayout(); 494 virtual void didUpdateLayout();
495 virtual bool multipleTargetsTapped(const WebKit::WebGestureEvent&,
496 const WebKit::WebVector<WebKit::WebRect>& targetRects);
494 virtual void navigateBackForwardSoon(int offset); 497 virtual void navigateBackForwardSoon(int offset);
495 virtual int historyBackListCount(); 498 virtual int historyBackListCount();
496 virtual int historyForwardListCount(); 499 virtual int historyForwardListCount();
497 virtual void postAccessibilityNotification( 500 virtual void postAccessibilityNotification(
498 const WebKit::WebAccessibilityObject& obj, 501 const WebKit::WebAccessibilityObject& obj,
499 WebKit::WebAccessibilityNotification notification); 502 WebKit::WebAccessibilityNotification notification);
500 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, 503 virtual void didUpdateInspectorSetting(const WebKit::WebString& key,
501 const WebKit::WebString& value); 504 const WebKit::WebString& value);
502 virtual WebKit::WebGeolocationClient* geolocationClient(); 505 virtual WebKit::WebGeolocationClient* geolocationClient();
503 virtual WebKit::WebSpeechInputController* speechInputController( 506 virtual WebKit::WebSpeechInputController* speechInputController(
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 const WebKit::WebPluginAction& action); 977 const WebKit::WebPluginAction& action);
975 void OnMoveOrResizeStarted(); 978 void OnMoveOrResizeStarted();
976 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); 979 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params);
977 void OnPaste(); 980 void OnPaste();
978 void OnPasteAndMatchStyle(); 981 void OnPasteAndMatchStyle();
979 #if defined(OS_MACOSX) 982 #if defined(OS_MACOSX)
980 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); 983 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
981 #endif 984 #endif
982 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params); 985 void OnPostMessageEvent(const ViewMsg_PostMessage_Params& params);
983 void OnRedo(); 986 void OnRedo();
987 void OnReleaseDisambiguationPopupDIB(TransportDIB::Handle dib_handle);
984 void OnReloadFrame(); 988 void OnReloadFrame();
985 void OnReplace(const string16& text); 989 void OnReplace(const string16& text);
986 void OnResetPageEncodingToDefault(); 990 void OnResetPageEncodingToDefault();
987 void OnScriptEvalRequest(const string16& frame_xpath, 991 void OnScriptEvalRequest(const string16& frame_xpath,
988 const string16& jscript, 992 const string16& jscript,
989 int id, 993 int id,
990 bool notify_result); 994 bool notify_result);
991 void OnSelectAll(); 995 void OnSelectAll();
992 void OnSelectRange(const gfx::Point& start, const gfx::Point& end); 996 void OnSelectRange(const gfx::Point& start, const gfx::Point& end);
993 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode); 997 CONTENT_EXPORT void OnSetAccessibilityMode(AccessibilityMode new_mode);
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 // bunch of stuff, you should probably create a helper class and put your 1540 // bunch of stuff, you should probably create a helper class and put your
1537 // data and methods on that to avoid bloating RenderView more. You can 1541 // data and methods on that to avoid bloating RenderView more. You can
1538 // use the Observer interface to filter IPC messages and receive frame change 1542 // use the Observer interface to filter IPC messages and receive frame change
1539 // notifications. 1543 // notifications.
1540 // --------------------------------------------------------------------------- 1544 // ---------------------------------------------------------------------------
1541 1545
1542 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1546 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1543 }; 1547 };
1544 1548
1545 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1549 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698