diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 04:19:34 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 04:19:34 +0000 |
commit | 42b7289e9b7667a34c82a1395d380a00643f0c28 (patch) | |
tree | 50dae4af6a888936c5b6d893d97d9f7d03696c55 /webkit/glue/dom_operations.cc | |
parent | 29672abd046612aa325fcfc0e69e1cc4d91c299c (diff) | |
download | chromium_src-42b7289e9b7667a34c82a1395d380a00643f0c28.zip chromium_src-42b7289e9b7667a34c82a1395d380a00643f0c28.tar.gz chromium_src-42b7289e9b7667a34c82a1395d380a00643f0c28.tar.bz2 |
Moves webview_impl.cc, webframe_impl.cc and webframeloaderclient_impl.cc into
webkit/api/src.
R=yaar
BUG=25896,25897,25902
TEST=none
Review URL: http://codereview.chromium.org/341030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r-- | webkit/glue/dom_operations.cc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc index ba1e2bc..2b523d6 100644 --- a/webkit/glue/dom_operations.cc +++ b/webkit/glue/dom_operations.cc @@ -33,16 +33,18 @@ MSVC_POP_WARNING(); #include "base/string_util.h" // TODO(yaar) Eventually should not depend on api/src. #include "webkit/api/src/DOMUtilitiesPrivate.h" +#include "webkit/api/src/WebFrameImpl.h" +#include "webkit/api/src/WebViewImpl.h" #include "webkit/glue/dom_operations.h" #include "webkit/glue/dom_operations_private.h" #include "webkit/glue/form_data.h" #include "webkit/glue/glue_util.h" #include "webkit/glue/password_autocomplete_listener_impl.h" -#include "webkit/glue/webframe_impl.h" -#include "webkit/glue/webview_impl.h" using WebCore::String; +using WebKit::FrameLoaderClientImpl; using WebKit::WebFrame; +using WebKit::WebFrameImpl; using WebKit::WebView; namespace { @@ -345,11 +347,11 @@ void FillPasswordForm(WebView* view, WebCore::HTMLInputElement* password_element = form_elements->input_elements[data.basic_data.elements[1]].get(); - WebFrameLoaderClient* frame_loader_client = - static_cast<WebFrameLoaderClient*>(username_element->document()-> - frame()->loader()->client()); - WebFrameImpl* webframe_impl = frame_loader_client->webframe(); - webframe_impl->RegisterPasswordListener( + FrameLoaderClientImpl* frame_loader_client = + static_cast<FrameLoaderClientImpl*>(username_element->document()-> + frame()->loader()->client()); + WebFrameImpl* webframe_impl = frame_loader_client->webFrame(); + webframe_impl->registerPasswordListener( username_element, new PasswordAutocompleteListenerImpl( new HTMLInputDelegate(username_element), @@ -369,7 +371,7 @@ WebFrameImpl* GetWebFrameImplFromElement(WebCore::Element* element, WebCore::HTMLFrameOwnerElement* frame_element = static_cast<WebCore::HTMLFrameOwnerElement*>(element); WebCore::Frame* content_frame = frame_element->contentFrame(); - return WebFrameImpl::FromFrame(content_frame); + return WebFrameImpl::fromFrame(content_frame); } } return NULL; |