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

Unified Diff: third_party/WebKit/Source/modules/ModulesInitializer.cpp

Issue 2931443003: Add support for Android spellcheck menu in Chrome/WebViews (Closed)
Patch Set: Respond to latest comments Created 3 years, 5 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: third_party/WebKit/Source/modules/ModulesInitializer.cpp
diff --git a/third_party/WebKit/Source/modules/ModulesInitializer.cpp b/third_party/WebKit/Source/modules/ModulesInitializer.cpp
index 65101f49282f0e146ffb72dbc17c26150f6d61d0..10f7ceca361550de55e1a521d745b3a2db22928f 100644
--- a/third_party/WebKit/Source/modules/ModulesInitializer.cpp
+++ b/third_party/WebKit/Source/modules/ModulesInitializer.cpp
@@ -8,6 +8,7 @@
#include "core/EventTypeNames.h"
#include "core/css/CSSPaintImageGenerator.h"
#include "core/dom/Document.h"
+#include "core/editing/suggestion/TextSuggestionBackendImpl.h"
#include "core/exported/WebSharedWorkerImpl.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/WebLocalFrameBase.h"
@@ -123,6 +124,8 @@ void ModulesInitializer::Initialize() {
// frame()->document().
frame->GetInterfaceRegistry()->AddInterface(WTF::Bind(
&AppBannerController::BindMojoRequest, WrapWeakPersistent(frame)));
+ frame->GetInterfaceRegistry()->AddInterface(WTF::Bind(
+ &TextSuggestionBackendImpl::Create, WrapWeakPersistent(frame)));
});
// Supplements installed on a frame using ChromeClient

Powered by Google App Engine
This is Rietveld 408576698