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

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

Issue 42258: Add way to remove entries from autocomplete (Closed) Base URL: svn://chrome-svn/chrome/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 | « chrome/renderer/render_view.cc ('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 // WebCore provides hooks for several kinds of functionality, allowing separate 5 // WebCore provides hooks for several kinds of functionality, allowing separate
6 // classes termed "delegates" to receive notifications (in the form of direct 6 // classes termed "delegates" to receive notifications (in the form of direct
7 // function calls) when certain events are about to occur or have just occurred. 7 // function calls) when certain events are about to occur or have just occurred.
8 // In some cases, the delegate implements the needed functionality; in others, 8 // In some cases, the delegate implements the needed functionality; in others,
9 // the delegate has some control over the behavior but doesn't actually 9 // the delegate has some control over the behavior but doesn't actually
10 // implement it. For example, the UI delegate is responsible for showing a 10 // implement it. For example, the UI delegate is responsible for showing a
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 } 480 }
481 481
482 // Queries the browser for suggestions to be shown for the form text field 482 // Queries the browser for suggestions to be shown for the form text field
483 // named |field_name|. |text| is the text entered by the user so far and 483 // named |field_name|. |text| is the text entered by the user so far and
484 // |node_id| is the id of the node of the input field. 484 // |node_id| is the id of the node of the input field.
485 virtual void QueryFormFieldAutofill(const std::wstring& field_name, 485 virtual void QueryFormFieldAutofill(const std::wstring& field_name,
486 const std::wstring& text, 486 const std::wstring& text,
487 int64 node_id) { 487 int64 node_id) {
488 } 488 }
489 489
490 // Instructs the browser to remove the autofill entry specified from it DB.
491 virtual void RemoveStoredAutofillEntry(const std::wstring& name,
492 const std::wstring& value) {
493 }
494
490 // UIDelegate -------------------------------------------------------------- 495 // UIDelegate --------------------------------------------------------------
491 496
492 // Asks the browser to show a modal HTML dialog. The dialog is passed the 497 // Asks the browser to show a modal HTML dialog. The dialog is passed the
493 // given arguments as a JSON string, and returns its result as a JSON string 498 // given arguments as a JSON string, and returns its result as a JSON string
494 // through json_retval. 499 // through json_retval.
495 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height, 500 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
496 const std::string& json_arguments, 501 const std::string& json_arguments,
497 std::string* json_retval) { 502 std::string* json_retval) {
498 } 503 }
499 504
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 virtual void DidAddHistoryItem() { } 778 virtual void DidAddHistoryItem() { }
774 779
775 WebViewDelegate() { } 780 WebViewDelegate() { }
776 virtual ~WebViewDelegate() { } 781 virtual ~WebViewDelegate() { }
777 782
778 private: 783 private:
779 DISALLOW_COPY_AND_ASSIGN(WebViewDelegate); 784 DISALLOW_COPY_AND_ASSIGN(WebViewDelegate);
780 }; 785 };
781 786
782 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_ 787 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/webview_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698