summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebView.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 05:11:03 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 05:11:03 +0000
commit50ae00ef9da3304a68d9f811380572a5e2ed03cb (patch)
treee58480c200f54468e61635a134cb6b51fb7809df /webkit/api/public/WebView.h
parenta9e8a092db75a1aff5e03d29215390ade65dec1e (diff)
downloadchromium_src-50ae00ef9da3304a68d9f811380572a5e2ed03cb.zip
chromium_src-50ae00ef9da3304a68d9f811380572a5e2ed03cb.tar.gz
chromium_src-50ae00ef9da3304a68d9f811380572a5e2ed03cb.tar.bz2
Delete glue/webview{_delegate}.h
R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/293001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api/public/WebView.h')
-rw-r--r--webkit/api/public/WebView.h22
1 files changed, 15 insertions, 7 deletions
diff --git a/webkit/api/public/WebView.h b/webkit/api/public/WebView.h
index 328d03a..09185c4 100644
--- a/webkit/api/public/WebView.h
+++ b/webkit/api/public/WebView.h
@@ -52,13 +52,15 @@ namespace WebKit {
public:
// Initialization ------------------------------------------------------
- // FIXME enable this once WebViewDelegate has been eliminated.
- //WEBKIT_API WebView* create(WebViewClient*);
+ // Creates a WebView that is NOT yet initialized. You will need to
+ // call initializeMainFrame to finish the initialization. It is valid
+ // to pass a null WebViewClient pointer.
+ WEBKIT_API static WebView* create(WebViewClient*);
// After creating a WebView, you should immediately call this method.
// You can optionally modify the settings before calling this method.
// The WebFrameClient will receive events for the main frame and any
- // child frames.
+ // child frames. It is valid to pass a null WebFrameClient pointer.
virtual void initializeMainFrame(WebFrameClient*) = 0;
@@ -225,10 +227,16 @@ namespace WebKit {
virtual void hideAutofillPopup() = 0;
- // FIXME what about:
- // GetDelegate
- // AutofillSuggestionsForNode
- // HideAutofillPopup
+ // Visited link state --------------------------------------------------
+
+ // Tells all WebView instances to update the visited link state for the
+ // specified hash.
+ WEBKIT_API static void updateVisitedLinkState(unsigned long long hash);
+
+ // Tells all WebView instances to update the visited state for all
+ // their links.
+ WEBKIT_API static void resetVisitedLinkState();
+
protected:
~WebView() {}