Fix input picker issue
[framework/web/webkit-efl.git] / Source / WebKit2 / Shared / EditorState.h
index f85300a..3248fa2 100755 (executable)
@@ -43,10 +43,14 @@ struct EditorState {
         , isInPasswordField(false)
         , hasComposition(false)
 #if ENABLE(TIZEN_ISF_PORT)
+        , inputMethodContextID(0)
         , cursorPosition(0)
 #endif
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
         , updateEditorRectOnly(false)
+        , underlineState(0)
+        , italicState(0)
+        , boldState(0)
 #endif
 #if PLATFORM(QT)
         , cursorPosition(0)
@@ -65,6 +69,7 @@ struct EditorState {
     bool isInPasswordField;
     bool hasComposition;
 #if ENABLE(TIZEN_ISF_PORT)
+    uintptr_t inputMethodContextID;
     WTF::String inputMethodHints;
     WTF::String surroundingText;
     unsigned cursorPosition;
@@ -72,6 +77,14 @@ struct EditorState {
 #if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
     WebCore::IntRect editorRect;
     bool updateEditorRectOnly;
+#if ENABLE(TIZEN_WEBKIT2_GET_TEXT_STYLE_FOR_SELECTION)
+    int underlineState;
+    int italicState;
+    int boldState;
+    WTF::String bgColor;
+    WTF::String color;
+    WTF::String fontSize;
+#endif
 #endif
 #if PLATFORM(QT)
     // The anchor, cursor represent either the selection or composition, depending