summaryrefslogtreecommitdiffstats
path: root/webkit/api/public
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
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')
-rw-r--r--webkit/api/public/WebFrame.h4
-rw-r--r--webkit/api/public/WebView.h22
-rw-r--r--webkit/api/public/WebViewClient.h14
3 files changed, 20 insertions, 20 deletions
diff --git a/webkit/api/public/WebFrame.h b/webkit/api/public/WebFrame.h
index 1306b97..04c862d 100644
--- a/webkit/api/public/WebFrame.h
+++ b/webkit/api/public/WebFrame.h
@@ -34,7 +34,6 @@
#include "WebCanvas.h"
#include "WebURL.h"
-class WebView; // FIXME: Move into the WebKit namespace.
struct NPObject;
#if WEBKIT_USING_V8
@@ -54,6 +53,7 @@ namespace WebKit {
class WebString;
class WebURL;
class WebURLRequest;
+ class WebView;
struct WebConsoleMessage;
struct WebFindOptions;
struct WebRect;
@@ -123,7 +123,7 @@ namespace WebKit {
// Hierarchy ----------------------------------------------------------
// Returns the containing view.
- virtual ::WebView* view() const = 0;
+ virtual WebView* view() const = 0;
// Returns the frame that opened this frame or 0 if there is none.
virtual WebFrame* opener() const = 0;
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() {}
diff --git a/webkit/api/public/WebViewClient.h b/webkit/api/public/WebViewClient.h
index 054a747..b4a1e2d 100644
--- a/webkit/api/public/WebViewClient.h
+++ b/webkit/api/public/WebViewClient.h
@@ -38,8 +38,6 @@
#include "WebTextDirection.h"
#include "WebWidgetClient.h"
-class WebView; // FIXME: Move into the WebKit namespace.
-
namespace WebKit {
class WebAccessibilityObject;
class WebDevToolsAgentClient;
@@ -51,6 +49,7 @@ namespace WebKit {
class WebRange;
class WebString;
class WebURL;
+ class WebView;
class WebWidget;
struct WebConsoleMessage;
struct WebContextMenuData;
@@ -272,15 +271,8 @@ namespace WebKit {
virtual void removeAutofillSuggestions(const WebString& name,
const WebString& value) = 0;
-
- // FIXME need to something for:
- // OnPasswordFormsSeen
- // OnAutofillFormSubmitted
- // QueryFormFieldAutofill
- // RemoveStoredAutofillEntry
- // ShowModalHTMLDialog <-- we should be able to kill this
- // GetWebDevToolsAgentDelegate
- // WasOpenedByUserGesture
+ protected:
+ ~WebViewClient() { }
};
} // namespace WebKit