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

Unified Diff: third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Rebase. Created 3 years, 7 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/core/exported/WebInputMethodControllerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp b/third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp
similarity index 94%
rename from third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
rename to third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp
index 773c8549a7f35fefbeac8e209e0c184728bca914..d0712715815ecb532f510351fd226f7ec9322851 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "web/WebInputMethodControllerImpl.h"
+#include "core/exported/WebInputMethodControllerImpl.h"
#include "core/InputTypeNames.h"
#include "core/dom/DocumentUserGestureToken.h"
@@ -15,29 +15,22 @@
#include "core/editing/PlainTextRange.h"
#include "core/exported/WebPluginContainerBase.h"
#include "core/frame/LocalFrame.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/page/FocusController.h"
#include "core/page/Page.h"
#include "platform/UserGestureIndicator.h"
#include "public/platform/WebString.h"
#include "public/web/WebPlugin.h"
#include "public/web/WebRange.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
WebInputMethodControllerImpl::WebInputMethodControllerImpl(
- WebLocalFrameImpl& web_frame)
+ WebLocalFrameBase& web_frame)
: web_frame_(&web_frame) {}
WebInputMethodControllerImpl::~WebInputMethodControllerImpl() {}
-// static
-WebInputMethodControllerImpl* WebInputMethodControllerImpl::FromFrame(
- LocalFrame* frame) {
- WebLocalFrameImpl* web_frame_impl = WebLocalFrameImpl::FromFrame(frame);
- return web_frame_impl ? web_frame_impl->GetInputMethodController() : nullptr;
-}
-
DEFINE_TRACE(WebInputMethodControllerImpl) {
visitor->Trace(web_frame_);
}

Powered by Google App Engine
This is Rietveld 408576698