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

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

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (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
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 126 }
127 127
128 // This method is called when default plugin has been correctly created and 128 // This method is called when default plugin has been correctly created and
129 // initialized, and found that the missing plugin is available to install or 129 // initialized, and found that the missing plugin is available to install or
130 // user has started installation. 130 // user has started installation.
131 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status) { 131 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status) {
132 } 132 }
133 133
134 // This method is called to open a URL in the specified manner. 134 // This method is called to open a URL in the specified manner.
135 virtual void OpenURL(WebView* webview, const GURL& url, 135 virtual void OpenURL(WebView* webview, const GURL& url,
136 const GURL& referrer,
136 WindowOpenDisposition disposition) { 137 WindowOpenDisposition disposition) {
137 } 138 }
138 139
139 // Notifies how many matches have been found so far, for a given request_id. 140 // Notifies how many matches have been found so far, for a given request_id.
140 // |final_update| specifies whether this is the last update (all frames have 141 // |final_update| specifies whether this is the last update (all frames have
141 // completed scoping). 142 // completed scoping).
142 virtual void ReportFindInPageMatchCount(int count, int request_id, 143 virtual void ReportFindInPageMatchCount(int count, int request_id,
143 bool final_update) { 144 bool final_update) {
144 } 145 }
145 146
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 722
722 WebViewDelegate() { } 723 WebViewDelegate() { }
723 virtual ~WebViewDelegate() { } 724 virtual ~WebViewDelegate() { }
724 725
725 private: 726 private:
726 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate); 727 DISALLOW_EVIL_CONSTRUCTORS(WebViewDelegate);
727 }; 728 };
728 729
729 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__ 730 #endif // WEBKIT_GLUE_WEBVIEW_DELEGATE_H__
730 731
OLDNEW
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698