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

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

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.h
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.h
similarity index 84%
rename from third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
rename to third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.h
index 8c4bf6b92168d1c0dae309e1e60a43086eef2782..fa0fd1f586004422af1b676eabdecfbe51400833 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ b/third_party/WebKit/Source/core/exported/WebInputMethodControllerImpl.h
@@ -5,6 +5,7 @@
#ifndef WebInputMethodControllerImpl_h
#define WebInputMethodControllerImpl_h
+#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "public/web/WebCompositionUnderline.h"
#include "public/web/WebInputMethodController.h"
@@ -13,20 +14,19 @@ namespace blink {
class InputMethodController;
class LocalFrame;
-class WebLocalFrameImpl;
+class WebLocalFrameBase;
class WebPlugin;
class WebRange;
class WebString;
-class WebInputMethodControllerImpl : public WebInputMethodController {
+class CORE_EXPORT WebInputMethodControllerImpl
+ : public WebInputMethodController {
WTF_MAKE_NONCOPYABLE(WebInputMethodControllerImpl);
public:
- explicit WebInputMethodControllerImpl(WebLocalFrameImpl* owner_frame);
+ explicit WebInputMethodControllerImpl(WebLocalFrameBase* owner_frame);
~WebInputMethodControllerImpl() override;
- static WebInputMethodControllerImpl* FromFrame(LocalFrame*);
-
// WebInputMethodController overrides.
bool SetComposition(const WebString& text,
const WebVector<WebCompositionUnderline>& underlines,
@@ -49,7 +49,7 @@ class WebInputMethodControllerImpl : public WebInputMethodController {
InputMethodController& GetInputMethodController() const;
WebPlugin* FocusedPluginIfInputMethodSupported() const;
- WeakMember<WebLocalFrameImpl> web_local_frame_;
+ WeakMember<WebLocalFrameBase> web_local_frame_;
dcheng 2017/05/23 01:43:31 FYI, I just changed this in https://chromium-revie
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698