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

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

Issue 2892393002: Move WebInputMethodControllerImpl to core/exported/ & break dependencies. (Closed)
Patch Set: Move WebInputMethodControllerImpl to core/exported/ 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 93%
rename from third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
rename to third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.cpp
index ab1eec888a8626faaa36530a9a5bb49db12fcb2f..cd29838a10cee97e2ceece429e72a4673a6e233e 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,30 +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_local_frame)
+ WebLocalFrameBase* web_local_frame)
: web_local_frame_(web_local_frame) {}
WebInputMethodControllerImpl::~WebInputMethodControllerImpl() {}
-// static
-WebInputMethodControllerImpl* WebInputMethodControllerImpl::FromFrame(
- LocalFrame* frame) {
- WebLocalFrameImpl* web_local_frame_impl = WebLocalFrameImpl::FromFrame(frame);
- return web_local_frame_impl ? web_local_frame_impl->GetInputMethodController()
- : nullptr;
-}
-
DEFINE_TRACE(WebInputMethodControllerImpl) {
visitor->Trace(web_local_frame_);
}

Powered by Google App Engine
This is Rietveld 408576698