X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Source%2FWebKit2%2FShared%2FEditorState.h;h=3248fa2d78c18453adfe3c7564389365b1529d95;hb=17cf3620bd51a9bf310617edfe0625f0e84af476;hp=f85300a6f243824396bcbb1f72f583b47fac77f5;hpb=e62f45192276825f16586f9f3db67c5235832720;p=framework%2Fweb%2Fwebkit-efl.git diff --git a/Source/WebKit2/Shared/EditorState.h b/Source/WebKit2/Shared/EditorState.h index f85300a..3248fa2 100755 --- a/Source/WebKit2/Shared/EditorState.h +++ b/Source/WebKit2/Shared/EditorState.h @@ -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