diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 04:08:59 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 04:08:59 +0000 |
commit | 60c42a8c7b44171abc3f8a58d0f69a923ead2bbd (patch) | |
tree | 692a0162b6843c3ce0c95448274fdc8e50667766 /webkit | |
parent | e7634aa3ea26c84026b8eb0abfc0bdee3e753f6a (diff) | |
download | chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.zip chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.tar.gz chromium_src-60c42a8c7b44171abc3f8a58d0f69a923ead2bbd.tar.bz2 |
Eliminate WebView::GetDelegate and replace RenderViewSet with a map from
WebView to RenderView.
R=mpcomplete
BUG=10033
TEST=none
Review URL: http://codereview.chromium.org/265044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webview.h | 5 | ||||
-rw-r--r-- | webkit/glue/webview_impl.cc | 4 | ||||
-rw-r--r-- | webkit/glue/webview_impl.h | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h index c5c299c..7e8f569 100644 --- a/webkit/glue/webview.h +++ b/webkit/glue/webview.h @@ -63,11 +63,6 @@ class WebView : public WebKit::WebView { // links. static void ResetVisitedLinkState(); - // Returns the delegate for this WebView. This is the pointer that was - // passed to WebView::Initialize. The caller must check this value before - // using it, it will be NULL during closing of the view. - virtual WebViewDelegate* GetDelegate() = 0; - // Notifies the webview that autofill suggestions are available for a node. virtual void AutofillSuggestionsForNode( int64 node_id, diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index fdf3fbc..3f86229 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -1661,10 +1661,6 @@ void WebViewImpl::setInspectorSettings(const WebString& settings) { // WebView -------------------------------------------------------------------- -WebViewDelegate* WebViewImpl::GetDelegate() { - return delegate_; -} - bool WebViewImpl::setDropEffect(bool accept) { if (drag_target_dispatch_) { drop_effect_ = accept ? DROP_EFFECT_COPY : DROP_EFFECT_NONE; diff --git a/webkit/glue/webview_impl.h b/webkit/glue/webview_impl.h index f956042..8dafde0 100644 --- a/webkit/glue/webview_impl.h +++ b/webkit/glue/webview_impl.h @@ -138,7 +138,6 @@ class WebViewImpl : public WebView, public base::RefCounted<WebViewImpl> { virtual void setInspectorSettings(const WebKit::WebString& settings); // WebView methods: - virtual WebViewDelegate* GetDelegate(); virtual void AutofillSuggestionsForNode( int64 node_id, const std::vector<std::wstring>& suggestions, |