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

Side by Side Diff: chrome/renderer/render_view.h

Issue 668125: Basic DragImage implementation.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 namespace WebKit { 97 namespace WebKit {
98 class WebGeolocationServiceInterfaceChromium; 98 class WebGeolocationServiceInterfaceChromium;
99 } 99 }
100 100
101 namespace WebKit { 101 namespace WebKit {
102 class WebAccessibilityCache; 102 class WebAccessibilityCache;
103 class WebDataSource; 103 class WebDataSource;
104 class WebDragData; 104 class WebDragData;
105 class WebImage;
105 class WebMediaPlayer; 106 class WebMediaPlayer;
106 class WebMediaPlayerClient; 107 class WebMediaPlayerClient;
107 class WebStorageNamespace; 108 class WebStorageNamespace;
108 class WebURLRequest; 109 class WebURLRequest;
109 struct WebFileChooserParams; 110 struct WebFileChooserParams;
110 struct WebFindOptions; 111 struct WebFindOptions;
112 struct WebPoint;
111 } 113 }
112 114
113 // We need to prevent a page from trying to create infinite popups. It is not 115 // We need to prevent a page from trying to create infinite popups. It is not
114 // as simple as keeping a count of the number of immediate children 116 // as simple as keeping a count of the number of immediate children
115 // popups. Having an html file that window.open()s itself would create 117 // popups. Having an html file that window.open()s itself would create
116 // an unlimited chain of RenderViews who only have one RenderView child. 118 // an unlimited chain of RenderViews who only have one RenderView child.
117 // 119 //
118 // Therefore, each new top level RenderView creates a new counter and shares it 120 // Therefore, each new top level RenderView creates a new counter and shares it
119 // with all its children and grandchildren popup RenderViews created with 121 // with all its children and grandchildren popup RenderViews created with
120 // createView() to have a sort of global limit for the page so no more than 122 // createView() to have a sort of global limit for the page so no more than
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual bool runModalBeforeUnloadDialog( 243 virtual bool runModalBeforeUnloadDialog(
242 WebKit::WebFrame* frame, const WebKit::WebString& message); 244 WebKit::WebFrame* frame, const WebKit::WebString& message);
243 virtual void showContextMenu( 245 virtual void showContextMenu(
244 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data); 246 WebKit::WebFrame* frame, const WebKit::WebContextMenuData& data);
245 virtual void setStatusText(const WebKit::WebString& text); 247 virtual void setStatusText(const WebKit::WebString& text);
246 virtual void setMouseOverURL(const WebKit::WebURL& url); 248 virtual void setMouseOverURL(const WebKit::WebURL& url);
247 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); 249 virtual void setKeyboardFocusURL(const WebKit::WebURL& url);
248 virtual void setToolTipText( 250 virtual void setToolTipText(
249 const WebKit::WebString& text, WebKit::WebTextDirection hint); 251 const WebKit::WebString& text, WebKit::WebTextDirection hint);
250 virtual void startDragging( 252 virtual void startDragging(
251 const WebKit::WebPoint& from, const WebKit::WebDragData& data, 253 const WebKit::WebDragData& data,
252 WebKit::WebDragOperationsMask mask); 254 WebKit::WebDragOperationsMask mask);
255 virtual void startDragging(
256 const WebKit::WebDragData& data,
257 WebKit::WebDragOperationsMask mask,
258 const WebKit::WebImage& image,
259 const WebKit::WebPoint& imageOffset);
253 virtual bool acceptsLoadDrops(); 260 virtual bool acceptsLoadDrops();
254 virtual void focusNext(); 261 virtual void focusNext();
255 virtual void focusPrevious(); 262 virtual void focusPrevious();
256 virtual void navigateBackForwardSoon(int offset); 263 virtual void navigateBackForwardSoon(int offset);
257 virtual int historyBackListCount(); 264 virtual int historyBackListCount();
258 virtual int historyForwardListCount(); 265 virtual int historyForwardListCount();
259 virtual void didAddHistoryItem(); 266 virtual void didAddHistoryItem();
260 virtual void focusAccessibilityObject( 267 virtual void focusAccessibilityObject(
261 const WebKit::WebAccessibilityObject& acc_obj); 268 const WebKit::WebAccessibilityObject& acc_obj);
262 virtual void didChangeAccessibilityObjectState( 269 virtual void didChangeAccessibilityObjectState(
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1164 1171
1165 // The geolocation dispatcher attached to this view, lazily initialized. 1172 // The geolocation dispatcher attached to this view, lazily initialized.
1166 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_; 1173 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_;
1167 1174
1168 RendererWebCookieJarImpl cookie_jar_; 1175 RendererWebCookieJarImpl cookie_jar_;
1169 1176
1170 DISALLOW_COPY_AND_ASSIGN(RenderView); 1177 DISALLOW_COPY_AND_ASSIGN(RenderView);
1171 }; 1178 };
1172 1179
1173 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1180 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698