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

Unified Diff: webkit/glue/webview_impl.cc

Issue 330021: Move glue/EditorClientImpl.h/cpp to webkit/api/src (Closed)
Patch Set: Patch 5 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
Index: webkit/glue/webview_impl.cc
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc
index 79929094d9fd06d831061db2cf27c2243673a314..34162f948be8258f73506e5682146d64c724834d 100644
--- a/webkit/glue/webview_impl.cc
+++ b/webkit/glue/webview_impl.cc
@@ -81,6 +81,7 @@
using namespace WebCore;
+using WebKit::EditorClientImpl;
using WebKit::PlatformKeyboardEventBuilder;
using WebKit::PlatformMouseEventBuilder;
using WebKit::PlatformWheelEventBuilder;
@@ -190,7 +191,7 @@ class AutocompletePopupMenuClient : public WebCore::PopupMenuClient {
EditorClientImpl* editor =
static_cast<EditorClientImpl*>(webview_->page()->editorClient());
ASSERT(editor);
- editor->OnAutofillSuggestionAccepted(
+ editor->onAutofillSuggestionAccepted(
static_cast<WebCore::HTMLInputElement*>(text_field_.get()));
}
@@ -498,7 +499,7 @@ void WebViewImpl::MouseDown(const WebMouseEvent& event) {
if (clicked_node.get() && clicked_node == GetFocusedNode()) {
// Focus has not changed, show the autocomplete popup.
static_cast<EditorClientImpl*>(page_->editorClient())->
- ShowFormAutofillForNode(clicked_node.get());
+ showFormAutofillForNode(clicked_node.get());
}
// Dispatch the contextmenu event regardless of if the click was swallowed.

Powered by Google App Engine
This is Rietveld 408576698