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

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

Issue 279001: Move autofill related WebView{Delegate} methods into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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/glue/password_autocomplete_listener_unittest.cc ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 static WebView* Create(WebViewDelegate* delegate); 56 static WebView* Create(WebViewDelegate* delegate);
57 57
58 // Tells all Page instances of this view to update the visited link state for 58 // Tells all Page instances of this view to update the visited link state for
59 // the specified hash. 59 // the specified hash.
60 static void UpdateVisitedLinkState(uint64 link_hash); 60 static void UpdateVisitedLinkState(uint64 link_hash);
61 61
62 // Tells all Page instances of this view to update visited state for all their 62 // Tells all Page instances of this view to update visited state for all their
63 // links. 63 // links.
64 static void ResetVisitedLinkState(); 64 static void ResetVisitedLinkState();
65 65
66 // Notifies the webview that autofill suggestions are available for a node.
67 virtual void AutofillSuggestionsForNode(
68 int64 node_id,
69 const std::vector<std::wstring>& suggestions,
70 int default_suggestion_index) = 0;
71
72 // Hides the autofill popup if any are showing.
73 virtual void HideAutofillPopup() = 0;
74
75 // Returns development tools agent instance belonging to this view. 66 // Returns development tools agent instance belonging to this view.
76 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0; 67 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0;
77 68
78 private: 69 private:
79 DISALLOW_COPY_AND_ASSIGN(WebView); 70 DISALLOW_COPY_AND_ASSIGN(WebView);
80 }; 71 };
81 72
82 #endif // WEBKIT_GLUE_WEBVIEW_H_ 73 #endif // WEBKIT_GLUE_WEBVIEW_H_
OLDNEW
« no previous file with comments | « webkit/glue/password_autocomplete_listener_unittest.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698