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

Unified Diff: sky/engine/core/dom/ElementRareData.h

Issue 880663002: Remove InputMethodContext. (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/dom/Element.idl ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ElementRareData.h
diff --git a/sky/engine/core/dom/ElementRareData.h b/sky/engine/core/dom/ElementRareData.h
index b592d1f331398cc18b2d5ec04eaeb6541befe48c..fd1661e4d39de879863d14f541997a635c0e9c19 100644
--- a/sky/engine/core/dom/ElementRareData.h
+++ b/sky/engine/core/dom/ElementRareData.h
@@ -27,7 +27,6 @@
#include "sky/engine/core/dom/NodeRareData.h"
#include "sky/engine/core/dom/custom/CustomElementDefinition.h"
#include "sky/engine/core/dom/shadow/ElementShadow.h"
-#include "sky/engine/core/html/ime/InputMethodContext.h"
#include "sky/engine/core/rendering/style/StyleInheritedData.h"
#include "sky/engine/wtf/OwnPtr.h"
@@ -85,14 +84,6 @@ public:
m_activeAnimations = activeAnimations;
}
- bool hasInputMethodContext() const { return m_inputMethodContext; }
- InputMethodContext& ensureInputMethodContext(HTMLElement* element)
- {
- if (!m_inputMethodContext)
- m_inputMethodContext = InputMethodContext::create(element);
- return *m_inputMethodContext;
- }
-
void setCustomElementDefinition(PassRefPtr<CustomElementDefinition> definition) { m_customElementDefinition = definition; }
CustomElementDefinition* customElementDefinition() const { return m_customElementDefinition.get(); }
@@ -103,7 +94,6 @@ private:
OwnPtr<DOMTokenList> m_classList;
OwnPtr<ElementShadow> m_shadow;
- OwnPtr<InputMethodContext> m_inputMethodContext;
OwnPtr<ActiveAnimations> m_activeAnimations;
OwnPtr<InlineCSSStyleDeclaration> m_cssomWrapper;
« no previous file with comments | « sky/engine/core/dom/Element.idl ('k') | sky/engine/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698