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

Side by Side Diff: webkit/plugins/webview_plugin.h

Issue 10392136: Add WebFrame pointer to WebViewClient::startDragging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « content/renderer/render_view_impl.cc ('k') | webkit/plugins/webview_plugin.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) 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 WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ 5 #ifndef WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_
6 #define WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ 6 #define WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url, 105 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url,
106 void* notify_data, 106 void* notify_data,
107 const WebKit::WebURLError& error) {} 107 const WebKit::WebURLError& error) {}
108 108
109 // WebViewClient methods: 109 // WebViewClient methods:
110 virtual bool acceptsLoadDrops(); 110 virtual bool acceptsLoadDrops();
111 111
112 virtual void setToolTipText(const WebKit::WebString&, 112 virtual void setToolTipText(const WebKit::WebString&,
113 WebKit::WebTextDirection); 113 WebKit::WebTextDirection);
114 114
115 virtual void startDragging(const WebKit::WebDragData& drag_data, 115 virtual void startDragging(WebKit::WebFrame* frame,
116 const WebKit::WebDragData& drag_data,
116 WebKit::WebDragOperationsMask mask, 117 WebKit::WebDragOperationsMask mask,
117 const WebKit::WebImage& image, 118 const WebKit::WebImage& image,
118 const WebKit::WebPoint& point); 119 const WebKit::WebPoint& point);
119 120
120 // WebWidgetClient methods: 121 // WebWidgetClient methods:
121 virtual void didInvalidateRect(const WebKit::WebRect&); 122 virtual void didInvalidateRect(const WebKit::WebRect&);
122 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); 123 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor);
123 124
124 // WebFrameClient methods: 125 // WebFrameClient methods:
125 virtual void didClearWindowObject(WebKit::WebFrame* frame); 126 virtual void didClearWindowObject(WebKit::WebFrame* frame);
(...skipping 28 matching lines...) Expand all
154 WebKit::WebURLResponse response_; 155 WebKit::WebURLResponse response_;
155 std::list<std::string> data_; 156 std::list<std::string> data_;
156 bool finished_loading_; 157 bool finished_loading_;
157 scoped_ptr<WebKit::WebURLError> error_; 158 scoped_ptr<WebKit::WebURLError> error_;
158 WebKit::WebString old_title_; 159 WebKit::WebString old_title_;
159 }; 160 };
160 161
161 } // namespace webkit 162 } // namespace webkit
162 163
163 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ 164 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | webkit/plugins/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698