Home
last modified time | relevance | path

Searched refs:typingStyle (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertTextCommand.cpp141 if (EditingStyle* typingStyle = document().frame()->selection().typingStyle()) in doApply() local
142 typingStyle->removeBlockProperties(); in doApply()
219 …if (RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle()) { in doApply() local
220 typingStyle->prepareToApplyAt(endPosition, EditingStyle::PreserveWritingDirection); in doApply()
221 if (!typingStyle->isEmpty()) in doApply()
222 applyStyle(typingStyle.get()); in doApply()
DInsertLineBreakCommand.cpp144 RefPtrWillBeRawPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle(); in doApply() local
146 if (typingStyle && !typingStyle->isEmpty()) { in doApply()
151 …applyStyle(typingStyle.get(), firstPositionInOrBeforeNode(nodeToInsert.get()), lastPositionInOrAft… in doApply()
DEditor.cpp1152 RefPtrWillBeRawPtr<EditingStyle> typingStyle = nullptr; in computeAndSetTypingStyle() local
1153 if (m_frame.selection().typingStyle()) { in computeAndSetTypingStyle()
1154 typingStyle = m_frame.selection().typingStyle()->copy(); in computeAndSetTypingStyle()
1155 typingStyle->overrideWithStyle(style); in computeAndSetTypingStyle()
1157 typingStyle = EditingStyle::create(style); in computeAndSetTypingStyle()
1160typingStyle->prepareToApplyAt(m_frame.selection().selection().visibleStart().deepEquivalent(), Edi… in computeAndSetTypingStyle()
1163 RefPtrWillBeRawPtr<EditingStyle> blockStyle = typingStyle->extractAndRemoveBlockProperties(); in computeAndSetTypingStyle()
1170 m_frame.selection().setTypingStyle(typingStyle); in computeAndSetTypingStyle()
DFrameSelection.h200 EditingStyle* typingStyle() const;
294 inline EditingStyle* FrameSelection::typingStyle() const in typingStyle() function
DEditingStyle.cpp980 RefPtrWillBeRawPtr<EditingStyle> typingStyle = document->frame()->selection().typingStyle(); in mergeTypingStyle() local
981 if (!typingStyle || typingStyle == this) in mergeTypingStyle()
984 mergeStyle(typingStyle->style(), OverrideValues); in mergeTypingStyle()
1286 …DirectionForSelection(const VisibleSelection& selection, EditingStyle* typingStyle, bool& hasNeste… in textDirectionForSelection() argument
1322 if (typingStyle && typingStyle->textDirection(direction)) { in textDirectionForSelection()
DEditingStyle.h142 …ction textDirectionForSelection(const VisibleSelection&, EditingStyle* typingStyle, bool& hasNeste…
DEditorCommand.cpp244 frame.selection().typingStyle(), hasNestedOrMultipleEmbeddings); in stateTextWritingDirection()