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

Unified Diff: webkit/glue/dom_operations.cc

Issue 341030: Moves webview_impl.cc, webframe_impl.cc and webframeloaderclient_impl.cc into... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/dom_operations.h ('k') | webkit/glue/dom_operations_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/dom_operations.cc
===================================================================
--- webkit/glue/dom_operations.cc (revision 30557)
+++ webkit/glue/dom_operations.cc (working copy)
@@ -33,16 +33,18 @@
#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 @@
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 @@
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;
« no previous file with comments | « webkit/glue/dom_operations.h ('k') | webkit/glue/dom_operations_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698