| 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 | 10 |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 12 #include "webkit/glue/webwidget.h" | 13 #include "webkit/glue/webwidget.h" |
| 13 | 14 |
| 14 struct WebDropData; | 15 struct WebDropData; |
| 15 struct WebPreferences; | 16 struct WebPreferences; |
| 16 class GURL; | 17 class GURL; |
| 17 class WebFrame; | 18 class WebFrame; |
| 18 class WebViewDelegate; | 19 class WebViewDelegate; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 // Callback methods when a drag and drop operation is trying to drop | 189 // Callback methods when a drag and drop operation is trying to drop |
| 189 // something on the renderer. | 190 // something on the renderer. |
| 190 virtual bool DragTargetDragEnter(const WebDropData& drop_data, | 191 virtual bool DragTargetDragEnter(const WebDropData& drop_data, |
| 191 int client_x, int client_y, int screen_x, int screen_y) = 0; | 192 int client_x, int client_y, int screen_x, int screen_y) = 0; |
| 192 virtual bool DragTargetDragOver( | 193 virtual bool DragTargetDragOver( |
| 193 int client_x, int client_y, int screen_x, int screen_y) = 0; | 194 int client_x, int client_y, int screen_x, int screen_y) = 0; |
| 194 virtual void DragTargetDragLeave() = 0; | 195 virtual void DragTargetDragLeave() = 0; |
| 195 virtual void DragTargetDrop( | 196 virtual void DragTargetDrop( |
| 196 int client_x, int client_y, int screen_x, int screen_y) = 0; | 197 int client_x, int client_y, int screen_x, int screen_y) = 0; |
| 197 | 198 |
| 199 // Notifies the webview that autofill suggestions are available for a node. |
| 200 virtual void AutofillSuggestionsForNode( |
| 201 int64 node_id, |
| 202 const std::vector<std::wstring>& suggestions, |
| 203 int default_suggestion_index) = 0; |
| 204 |
| 198 private: | 205 private: |
| 199 DISALLOW_EVIL_CONSTRUCTORS(WebView); | 206 DISALLOW_EVIL_CONSTRUCTORS(WebView); |
| 200 }; | 207 }; |
| 201 | 208 |
| 202 #endif // WEBKIT_GLUE_WEBVIEW_H__ | 209 #endif // WEBKIT_GLUE_WEBVIEW_H__ |
| 203 | 210 |
| OLD | NEW |