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

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

Issue 11043022: plugins: Stub implementation for accepting dragged data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 | « webkit/plugins/ppapi/ppapi_webplugin_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void updateGeometry( 86 virtual void updateGeometry(
87 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect, 87 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect,
88 const WebKit::WebVector<WebKit::WebRect>& cut_out_rects, bool is_visible); 88 const WebKit::WebVector<WebKit::WebRect>& cut_out_rects, bool is_visible);
89 89
90 virtual void updateFocus(bool) {} 90 virtual void updateFocus(bool) {}
91 virtual void updateVisibility(bool) {} 91 virtual void updateVisibility(bool) {}
92 92
93 virtual bool acceptsInputEvents(); 93 virtual bool acceptsInputEvents();
94 virtual bool handleInputEvent(const WebKit::WebInputEvent& event, 94 virtual bool handleInputEvent(const WebKit::WebInputEvent& event,
95 WebKit::WebCursorInfo& cursor_info); 95 WebKit::WebCursorInfo& cursor_info);
96 virtual bool handleDragStatusUpdate(
97 WebKit::WebDragStatus dragStatus,
98 const WebKit::WebDragData& drag_data,
99 WebKit::WebDragOperationsMask drag_mask,
100 const WebKit::WebPoint& position,
101 const WebKit::WebPoint& screenPosition) OVERRIDE;
brettw 2012/10/09 22:18:45 -> screen_position Same in other files.
96 102
97 virtual void didReceiveResponse(const WebKit::WebURLResponse& response); 103 virtual void didReceiveResponse(const WebKit::WebURLResponse& response);
98 virtual void didReceiveData(const char* data, int data_length); 104 virtual void didReceiveData(const char* data, int data_length);
99 virtual void didFinishLoading(); 105 virtual void didFinishLoading();
100 virtual void didFailLoading(const WebKit::WebURLError& error); 106 virtual void didFailLoading(const WebKit::WebURLError& error);
101 107
102 // Called in response to WebPluginContainer::loadFrameRequest 108 // Called in response to WebPluginContainer::loadFrameRequest
103 virtual void didFinishLoadingFrameRequest( 109 virtual void didFinishLoadingFrameRequest(
104 const WebKit::WebURL& url, void* notifyData) {} 110 const WebKit::WebURL& url, void* notifyData) {}
105 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url, 111 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 WebKit::WebURLResponse response_; 161 WebKit::WebURLResponse response_;
156 std::list<std::string> data_; 162 std::list<std::string> data_;
157 bool finished_loading_; 163 bool finished_loading_;
158 scoped_ptr<WebKit::WebURLError> error_; 164 scoped_ptr<WebKit::WebURLError> error_;
159 WebKit::WebString old_title_; 165 WebKit::WebString old_title_;
160 }; 166 };
161 167
162 } // namespace webkit 168 } // namespace webkit
163 169
164 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ 170 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppapi_webplugin_impl.cc ('k') | webkit/plugins/webview_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698