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

Side by Side Diff: webkit/glue/webview.h

Issue 28108: Add an identity (id) to system drag & drop. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/webdropdata.h ('k') | webkit/glue/webview_impl.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GLUE_WEBVIEW_H__ 5 #ifndef WEBKIT_GLUE_WEBVIEW_H__
6 #define WEBKIT_GLUE_WEBVIEW_H__ 6 #define WEBKIT_GLUE_WEBVIEW_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // Callback methods when a drag and drop operation is trying to drop 179 // Callback methods when a drag and drop operation is trying to drop
180 // something on the renderer. 180 // something on the renderer.
181 virtual bool DragTargetDragEnter(const WebDropData& drop_data, 181 virtual bool DragTargetDragEnter(const WebDropData& drop_data,
182 int client_x, int client_y, int screen_x, int screen_y) = 0; 182 int client_x, int client_y, int screen_x, int screen_y) = 0;
183 virtual bool DragTargetDragOver( 183 virtual bool DragTargetDragOver(
184 int client_x, int client_y, int screen_x, int screen_y) = 0; 184 int client_x, int client_y, int screen_x, int screen_y) = 0;
185 virtual void DragTargetDragLeave() = 0; 185 virtual void DragTargetDragLeave() = 0;
186 virtual void DragTargetDrop( 186 virtual void DragTargetDrop(
187 int client_x, int client_y, int screen_x, int screen_y) = 0; 187 int client_x, int client_y, int screen_x, int screen_y) = 0;
188 virtual int32 GetDragIdentity() = 0;
188 189
189 // Notifies the webview that autofill suggestions are available for a node. 190 // Notifies the webview that autofill suggestions are available for a node.
190 virtual void AutofillSuggestionsForNode( 191 virtual void AutofillSuggestionsForNode(
191 int64 node_id, 192 int64 node_id,
192 const std::vector<std::wstring>& suggestions, 193 const std::vector<std::wstring>& suggestions,
193 int default_suggestion_index) = 0; 194 int default_suggestion_index) = 0;
194 195
195 private: 196 private:
196 DISALLOW_EVIL_CONSTRUCTORS(WebView); 197 DISALLOW_EVIL_CONSTRUCTORS(WebView);
197 }; 198 };
198 199
199 #endif // WEBKIT_GLUE_WEBVIEW_H__ 200 #endif // WEBKIT_GLUE_WEBVIEW_H__
200 201
OLDNEW
« no previous file with comments | « webkit/glue/webdropdata.h ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698