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

Unified Diff: sky/engine/core/html/ime/InputMethodContext.cpp

Issue 698213002: Remove lots of Text APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/html/ime/InputMethodContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/ime/InputMethodContext.cpp
diff --git a/sky/engine/core/html/ime/InputMethodContext.cpp b/sky/engine/core/html/ime/InputMethodContext.cpp
index 0bbb5ac5a3d4550195c7a166d3e461bfb79286fc..5fe0d36baf0bc97b0ed83fddc3c37a63c521f7cd 100644
--- a/sky/engine/core/html/ime/InputMethodContext.cpp
+++ b/sky/engine/core/html/ime/InputMethodContext.cpp
@@ -95,15 +95,6 @@ bool InputMethodContext::hasFocus() const
return element && element->isHTMLElement() && m_element == toHTMLElement(element);
}
-String InputMethodContext::compositionText() const
ojan 2014/11/04 05:54:53 I'm a little surprised this is dead code. Is all o
-{
- if (!hasFocus())
- return emptyString();
-
- Text* text = inputMethodController().compositionNode();
- return text ? text->wholeText() : emptyString();
-}
-
CompositionUnderline InputMethodContext::selectedSegment() const
{
CompositionUnderline underline;
« no previous file with comments | « sky/engine/core/html/ime/InputMethodContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698