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

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

Issue 8885: Implementation of the UI part of the autofill (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/webplugin_impl_mac.mm ('k') | webkit/glue/webview_delegate.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 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
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
OLDNEW
« no previous file with comments | « webkit/glue/webplugin_impl_mac.mm ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698