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

Unified Diff: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h

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/web/WebInputMethodControllerImpl.h
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
deleted file mode 100644
index 4ecd0c8e69dd759c64057d112fe75a914aa8e4f4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebInputMethodControllerImpl_h
-#define WebInputMethodControllerImpl_h
-
-#include "platform/heap/Handle.h"
-#include "platform/wtf/Allocator.h"
-#include "public/web/WebCompositionUnderline.h"
-#include "public/web/WebInputMethodController.h"
-
-namespace blink {
-
-class InputMethodController;
-class LocalFrame;
-class WebLocalFrameImpl;
-class WebPlugin;
-class WebRange;
-class WebString;
-
-class WebInputMethodControllerImpl : public WebInputMethodController {
- WTF_MAKE_NONCOPYABLE(WebInputMethodControllerImpl);
- DISALLOW_NEW();
-
- public:
- explicit WebInputMethodControllerImpl(WebLocalFrameImpl& web_frame);
- ~WebInputMethodControllerImpl() override;
-
- static WebInputMethodControllerImpl* FromFrame(LocalFrame*);
-
- // WebInputMethodController overrides.
- bool SetComposition(const WebString& text,
- const WebVector<WebCompositionUnderline>& underlines,
- const WebRange& replacement_range,
- int selection_start,
- int selection_end) override;
- bool CommitText(const WebString& text,
- const WebVector<WebCompositionUnderline>& underlines,
- const WebRange& replacement_range,
- int relative_caret_position) override;
- bool FinishComposingText(
- ConfirmCompositionBehavior selection_behavior) override;
- WebTextInputInfo TextInputInfo() override;
- WebTextInputType TextInputType() override;
-
- DECLARE_TRACE();
-
- private:
- LocalFrame* GetFrame() const;
- InputMethodController& GetInputMethodController() const;
- WebPlugin* FocusedPluginIfInputMethodSupported() const;
-
- const Member<WebLocalFrameImpl> web_frame_;
-};
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698