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

Unified Diff: sky/engine/core/editing/InputMethodController.cpp

Issue 878673005: Get rid of Chrome, use Page. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/editing/EditorCommand.cpp ('k') | sky/engine/core/frame/Console.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/InputMethodController.cpp
diff --git a/sky/engine/core/editing/InputMethodController.cpp b/sky/engine/core/editing/InputMethodController.cpp
index e61869fc3e40826ecded9bd4b164ee71e46fe50c..b96e985314c83713b33d545f17ddc58dc695bfc4 100644
--- a/sky/engine/core/editing/InputMethodController.cpp
+++ b/sky/engine/core/editing/InputMethodController.cpp
@@ -35,7 +35,6 @@
#include "sky/engine/core/editing/TypingCommand.h"
#include "sky/engine/core/events/CompositionEvent.h"
#include "sky/engine/core/frame/LocalFrame.h"
-#include "sky/engine/core/page/Chrome.h"
#include "sky/engine/core/page/ChromeClient.h"
#include "sky/engine/core/page/EventHandler.h"
#include "sky/engine/core/rendering/RenderObject.h"
@@ -140,11 +139,7 @@ bool InputMethodController::confirmCompositionOrInsertText(const String& text, C
void InputMethodController::confirmCompositionAndResetState()
{
- if (!hasComposition())
- return;
-
- // ChromeClient::willSetInputMethodState() resets input method and the composition string is committed.
- m_frame.chromeClient().willSetInputMethodState();
+ // TODO(esprehn): Remove this.
}
void InputMethodController::cancelComposition()
« no previous file with comments | « sky/engine/core/editing/EditorCommand.cpp ('k') | sky/engine/core/frame/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698