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

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

Issue 9746: Change old code from "unloadListnerChanged" model to new WebKit EnableSuddenT... (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/webframeloaderclient_impl.cc ('k') | no next file » | 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 virtual void OnPasswordFormsSeen(WebView* webview, 447 virtual void OnPasswordFormsSeen(WebView* webview,
448 const std::vector<PasswordForm>& forms) { 448 const std::vector<PasswordForm>& forms) {
449 } 449 }
450 450
451 // Notification of the submission of a form so that its contents can be 451 // Notification of the submission of a form so that its contents can be
452 // recorded for future autofilling. 452 // recorded for future autofilling.
453 virtual void OnAutofillFormSubmitted(WebView* webview, 453 virtual void OnAutofillFormSubmitted(WebView* webview,
454 const AutofillForm& form) { 454 const AutofillForm& form) {
455 } 455 }
456 456
457 // 457 virtual void EnableSuddenTermination() {
458 virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe) { 458 }
459
460 virtual void DisableSuddenTermination() {
459 } 461 }
460 462
461 // Queries the browser for suggestions to be shown for the form text field 463 // Queries the browser for suggestions to be shown for the form text field
462 // named |field_name|. |text| is the text entered by the user so far and 464 // named |field_name|. |text| is the text entered by the user so far and
463 // |node_id| is the id of the node of the input field. 465 // |node_id| is the id of the node of the input field.
464 virtual void QueryFormFieldAutofill(const std::wstring& field_name, 466 virtual void QueryFormFieldAutofill(const std::wstring& field_name,
465 const std::wstring& text, 467 const std::wstring& text,
466 int64 node_id) { 468 int64 node_id) {
467 } 469 }
468 470
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 736
735 WebViewDelegate() { } 737 WebViewDelegate() { }
736 virtual ~WebViewDelegate() { } 738 virtual ~WebViewDelegate() { }
737 739
738 private: 740 private:
739 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate); 741 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate);
740 }; 742 };
741 743
742 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__ 744 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
743 745
OLDNEW
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698