Home
last modified time | relevance | path

Searched refs:EditingStyle (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.h62 class EditingStyle : public RefCounted<EditingStyle> {
70 static PassRefPtr<EditingStyle> create() in create()
72 return adoptRef(new EditingStyle()); in create()
75 …static PassRefPtr<EditingStyle> create(Node* node, PropertiesToInclude propertiesToInclude = OnlyE…
77 return adoptRef(new EditingStyle(node, propertiesToInclude));
80 …static PassRefPtr<EditingStyle> create(const Position& position, PropertiesToInclude propertiesToI…
82 return adoptRef(new EditingStyle(position, propertiesToInclude));
85 static PassRefPtr<EditingStyle> create(const StylePropertySet* style) in create()
87 return adoptRef(new EditingStyle(style)); in create()
90 static PassRefPtr<EditingStyle> create(const CSSStyleDeclaration* style) in create()
[all …]
DApplyStyleCommand.h36 class EditingStyle; variable
51 …static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, EditAct…
55 …static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, const P…
63 …static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, IsInlin…
69 ApplyStyleCommand(Document&, const EditingStyle*, EditAction, EPropertyLevel);
70 …ApplyStyleCommand(Document&, const EditingStyle*, const Position& start, const Position& end, Edit…
72 …ApplyStyleCommand(Document&, const EditingStyle*, bool (*isInlineElementToRemove)(const Element*),…
79 bool shouldApplyInlineStyleToRun(EditingStyle*, Node* runStart, Node* pastEndNode);
80 …void removeConflictingInlineStyleFromRun(EditingStyle*, RefPtr<Node>& runStart, RefPtr<Node>& runE…
81 … removeInlineStyleFromElement(EditingStyle*, PassRefPtr<HTMLElement>, InlineStyleRemovalMode = Rem…
[all …]
DEditingStyle.cpp165 virtual void addToStyle(Element*, EditingStyle*) const;
202 void HTMLElementEquivalent::addToStyle(Element*, EditingStyle* style) const in addToStyle()
254 virtual void addToStyle(Element*, EditingStyle*) const;
284 void HTMLAttributeEquivalent::addToStyle(Element* element, EditingStyle* style) const in addToStyle()
330 float EditingStyle::NoFontDelta = 0.0f;
332 EditingStyle::EditingStyle() in EditingStyle() function in WebCore::EditingStyle
338 EditingStyle::EditingStyle(Node* node, PropertiesToInclude propertiesToInclude) in EditingStyle() function in WebCore::EditingStyle
345 EditingStyle::EditingStyle(const Position& position, PropertiesToInclude propertiesToInclude) in EditingStyle() function in WebCore::EditingStyle
352 EditingStyle::EditingStyle(const StylePropertySet* style) in EditingStyle() function in WebCore::EditingStyle
360 EditingStyle::EditingStyle(const CSSStyleDeclaration* style) in EditingStyle() function in WebCore::EditingStyle
[all …]
DApplyStyleCommand.cpp120 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, EditAction edit… in ApplyStyleCommand()
134 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, const Position&… in ApplyStyleCommand()
150 , m_style(EditingStyle::create()) in ApplyStyleCommand()
162 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, IsInlineElement… in ApplyStyleCommand()
209 RefPtr<EditingStyle> blockStyle = m_style->extractAndRemoveBlockProperties(); in doApply()
231 void ApplyStyleCommand::applyBlockStyle(EditingStyle *style) in applyBlockStyle()
302 void ApplyStyleCommand::applyRelativeFontStyleChange(EditingStyle* style) in applyRelativeFontStyleChange()
471 …&& EditingStyle::create(highestAncestorWithUnicodeBidi, EditingStyle::AllProperties)->textDirectio… in splitAncestorsWithUnicodeBidi()
539 void ApplyStyleCommand::applyInlineStyle(EditingStyle* style) in applyInlineStyle()
594 RefPtr<EditingStyle> styleWithoutEmbedding; in applyInlineStyle()
[all …]
DDeleteSelectionCommand.h33 class EditingStyle; variable
94 RefPtr<EditingStyle> m_typingStyle;
95 RefPtr<EditingStyle> m_deleteIntoBlockquoteStyle;
DFrameSelection.h191 EditingStyle* typingStyle() const;
193 void setTypingStyle(PassRefPtr<EditingStyle>);
257 RefPtr<EditingStyle> m_typingStyle;
269 inline EditingStyle* FrameSelection::typingStyle() const in typingStyle()
279 inline void FrameSelection::setTypingStyle(PassRefPtr<EditingStyle> style) in setTypingStyle()
DInsertParagraphSeparatorCommand.h33 class EditingStyle; variable
56 RefPtr<EditingStyle> m_style;
DRemoveFormatCommand.cpp90 RefPtr<EditingStyle> defaultStyle = EditingStyle::create(root); in doApply()
DCompositeEditCommand.h36 class EditingStyle; variable
96 void applyStyle(const EditingStyle*, EditAction = EditActionChangeAttributes);
97 …void applyStyle(const EditingStyle*, const Position& start, const Position& end, EditAction = Edit…
DEditor.cpp690 …ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction)->… in applyStyle()
701 …ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction, A… in applyParagraphStyle()
722 return EditingStyle::create(propertyID, value)->triStateOfStyle( in selectionStartHasStyle()
723EditingStyle::styleAtSelectionStart(m_frame.selection().selection(), propertyID == CSSPropertyBack… in selectionStartHasStyle()
728 … return EditingStyle::create(propertyID, value)->triStateOfStyle(m_frame.selection().selection()); in selectionHasStyle()
733 …RefPtr<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(m_frame.selection().sele… in selectionStartCSSPropertyValue()
1167 RefPtr<EditingStyle> typingStyle; in computeAndSetTypingStyle()
1172 typingStyle = EditingStyle::create(style); in computeAndSetTypingStyle()
1175 …lyAt(m_frame.selection().selection().visibleStart().deepEquivalent(), EditingStyle::PreserveWritin… in computeAndSetTypingStyle()
1178 RefPtr<EditingStyle> blockStyle = typingStyle->extractAndRemoveBlockProperties(); in computeAndSetTypingStyle()
Dmarkup.cpp150 RefPtr<EditingStyle> m_wrappingStyle;
221 RefPtr<EditingStyle> wrappingStyle = m_wrappingStyle->copy(); in appendText()
294 RefPtr<EditingStyle> newInlineStyle; in appendElement()
301 newInlineStyle = EditingStyle::create(); in appendElement()
337 …m_wrappingStyle = EditingStyle::wrappingStyleForSerialization(m_highestNodeToBeSerialized->parentN… in serializeNodes()
479 static PassRefPtr<EditingStyle> styleFromMatchedRulesAndInlineDecl(const Node* node) in styleFromMatchedRulesAndInlineDecl()
487 RefPtr<EditingStyle> style = EditingStyle::create(element->inlineStyle()); in styleFromMatchedRulesAndInlineDecl()
590 …RefPtr<EditingStyle> fullySelectedRootStyle = styleFromMatchedRulesAndInlineDecl(fullySelectedRoot… in createMarkupInternal()
DReplaceSelectionCommand.cpp478 RefPtr<EditingStyle> newInlineStyle = EditingStyle::create(inlineStyle); in removeRedundantStylesAndKeepStyleSpanInline()
490 …InlineStyle->extractConflictingImplicitStyleOfAttributes(htmlElement, EditingStyle::PreserveWritin… in removeRedundantStylesAndKeepStyleSpanInline()
491 EditingStyle::DoNotExtractMatchingStyle)) { in removeRedundantStylesAndKeepStyleSpanInline()
732 …RefPtr<EditingStyle> styleAtInsertionPos = EditingStyle::create(insertionPos.parentAnchoredEquival… in handleStyleSpansBeforeInsertion()
770 RefPtr<EditingStyle> style = EditingStyle::create(wrappingStyleSpan->inlineStyle()); in handleStyleSpans()
874 return EditingStyle::elementIsStyledSpanOrHTMLEquivalent(element); in isInlineNodeWithStyle()
904 m_insertionStyle = EditingStyle::create(selection.start()); in doApply()
DInsertTextCommand.cpp224 if (RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle()) { in doApply()
225 typingStyle->prepareToApplyAt(endPosition, EditingStyle::PreserveWritingDirection); in doApply()
DReplaceSelectionCommand.h108 RefPtr<EditingStyle> m_insertionStyle;
DCompositeEditCommand.cpp289 void CompositeEditCommand::applyStyle(const EditingStyle* style, EditAction editingAction) in applyStyle()
294 void CompositeEditCommand::applyStyle(const EditingStyle* style, const Position& start, const Posit… in applyStyle()
1227 RefPtr<EditingStyle> styleInEmptyParagraph; in moveParagraphs()
1229 styleInEmptyParagraph = EditingStyle::create(startOfParagraphToMove.deepEquivalent()); in moveParagraphs()
1298 RefPtr<EditingStyle> style = EditingStyle::create(endingSelection().start()); in breakOutOfEmptyListItem()
DInsertLineBreakCommand.cpp169 RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle(); in doApply()
DDeleteSelectionCommand.cpp295 …m_typingStyle = EditingStyle::create(m_selectionToDelete.start(), EditingStyle::EditingPropertiesI… in saveTypingStyleState()
301 m_deleteIntoBlockquoteStyle = EditingStyle::create(m_selectionToDelete.end()); in saveTypingStyleState()
DEditorCommand.cpp136 …RefPtr<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(frame.selection().select… in executeToggleStyleInList()
170 …RefPtr<EditingStyle> style = EditingStyle::create(propertyID, styleIsPresent ? offValue : onValue); in executeToggleStyle()
242 …WritingDirection selectionDirection = EditingStyle::textDirectionForSelection(frame.selection().se… in stateTextWritingDirection()
DInsertParagraphSeparatorCommand.cpp83 m_style = EditingStyle::create(pos); in calculateStyleBeforeInsertion()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-arm.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \
Dwebcore_remaining.target.linux-x86.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \
Dwebcore_remaining.target.linux-mips.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \
Dwebcore_remaining.target.darwin-arm.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \
Dwebcore_remaining.target.darwin-x86.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \
Dwebcore_remaining.target.darwin-mips.mk227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \

12