| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |