Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/editing/
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 removeStyleFromRunBeforeApplyingStyle(EditingStyle*, RefPtr<Node>& runStart, RefPtr<Node>& ru…
80 … removeInlineStyleFromElement(EditingStyle*, PassRefPtr<HTMLElement>, InlineStyleRemovalMode = Rem…
81 …inline bool shouldRemoveInlineStyleFromElement(EditingStyle* style, HTMLElement* element) {return … in shouldRemoveInlineStyleFromElement()
[all …]
DEditingStyle.h58 class EditingStyle : public RefCounted<EditingStyle> {
66 static PassRefPtr<EditingStyle> create() in create()
68 return adoptRef(new EditingStyle()); in create()
71 …static PassRefPtr<EditingStyle> create(Node* node, PropertiesToInclude propertiesToInclude = OnlyI…
73 return adoptRef(new EditingStyle(node, propertiesToInclude));
76 static PassRefPtr<EditingStyle> create(const Position& position) in create()
78 return adoptRef(new EditingStyle(position)); in create()
81 static PassRefPtr<EditingStyle> create(const CSSStyleDeclaration* style) in create()
83 return adoptRef(new EditingStyle(style)); in create()
86 static PassRefPtr<EditingStyle> create(int propertyID, const String& value) in create()
[all …]
DEditingStyle.cpp106 virtual void addToStyle(Element*, EditingStyle*) const;
143 void HTMLElementEquivalent::addToStyle(Element*, EditingStyle* style) const in addToStyle()
185 virtual void addToStyle(Element*, EditingStyle*) const;
217 void HTMLAttributeEquivalent::addToStyle(Element* element, EditingStyle* style) const in addToStyle()
263 float EditingStyle::NoFontDelta = 0.0f;
265 EditingStyle::EditingStyle() in EditingStyle() function in WebCore::EditingStyle
271 EditingStyle::EditingStyle(Node* node, PropertiesToInclude propertiesToInclude) in EditingStyle() function in WebCore::EditingStyle
278 EditingStyle::EditingStyle(const Position& position) in EditingStyle() function in WebCore::EditingStyle
285 EditingStyle::EditingStyle(const CSSStyleDeclaration* style) in EditingStyle() function in WebCore::EditingStyle
293 EditingStyle::EditingStyle(int propertyID, const String& value) in EditingStyle() function in WebCore::EditingStyle
[all …]
DApplyStyleCommand.cpp121 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, EditAction edit… in ApplyStyleCommand()
135 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, const Position&… in ApplyStyleCommand()
151 , m_style(EditingStyle::create()) in ApplyStyleCommand()
163 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, IsInlineElement… in ApplyStyleCommand()
210 RefPtr<EditingStyle> blockStyle = m_style->extractAndRemoveBlockProperties(); in doApply()
232 void ApplyStyleCommand::applyBlockStyle(EditingStyle *style) in applyBlockStyle()
296 void ApplyStyleCommand::applyRelativeFontStyleChange(EditingStyle* style) in applyRelativeFontStyleChange()
459 …&& EditingStyle::create(highestAncestorWithUnicodeBidi, EditingStyle::AllProperties)->textDirectio… in splitAncestorsWithUnicodeBidi()
528 void ApplyStyleCommand::applyInlineStyle(EditingStyle* style) in applyInlineStyle()
581 RefPtr<EditingStyle> styleWithoutEmbedding; in applyInlineStyle()
[all …]
DDeleteSelectionCommand.h33 class EditingStyle; variable
91 RefPtr<EditingStyle> m_typingStyle;
92 RefPtr<EditingStyle> m_deleteIntoBlockquoteStyle;
DSelectionController.h172 EditingStyle* typingStyle() const;
174 void setTypingStyle(PassRefPtr<EditingStyle>);
229 RefPtr<EditingStyle> m_typingStyle;
247 inline EditingStyle* SelectionController::typingStyle() const in typingStyle()
257 inline void SelectionController::setTypingStyle(PassRefPtr<EditingStyle> style) in setTypingStyle()
DInsertParagraphSeparatorCommand.h33 class EditingStyle; variable
56 RefPtr<EditingStyle> m_style;
DCompositeEditCommand.h35 class EditingStyle; variable
54 void applyStyle(const EditingStyle*, EditAction = EditActionChangeAttributes);
55 …void applyStyle(const EditingStyle*, const Position& start, const Position& end, EditAction = Edit…
DRemoveFormatCommand.cpp88 RefPtr<EditingStyle> defaultStyle = EditingStyle::create(root); in doApply()
DReplaceSelectionCommand.h34 class EditingStyle; variable
93 RefPtr<EditingStyle> m_insertionStyle;
DInsertTextCommand.cpp195 if (RefPtr<EditingStyle> typingStyle = document()->frame()->selection()->typingStyle()) { in input()
196 typingStyle->prepareToApplyAt(endPosition, EditingStyle::PreserveWritingDirection); in input()
DEditor.cpp599 RefPtr<EditingStyle> typingStyle = m_frame->selection()->typingStyle(); in textDirectionForSelection()
836 …applyCommand(ApplyStyleCommand::create(m_frame->document(), EditingStyle::create(style).get(), edi… in applyStyle()
855 …applyCommand(ApplyStyleCommand::create(m_frame->document(), EditingStyle::create(style).get(), edi… in applyParagraphStyle()
880 RefPtr<EditingStyle> style = EditingStyle::create(propertyID, value); in selectionStartHasStyle()
881 RefPtr<EditingStyle> selectionStyle = selectionStartStyle(); in selectionStartHasStyle()
889 RefPtr<EditingStyle> style = EditingStyle::create(propertyID, value); in selectionHasStyle()
894 RefPtr<EditingStyle> selectionStyle = selectionStartStyle(); in selectionHasStyle()
904 …eOfStyle(nodeStyle.get(), node->isTextNode() ? EditingStyle::DoNotIgnoreTextOnlyProperties : Editi… in selectionHasStyle()
937 RefPtr<EditingStyle> selectionStyle = selectionStartStyle(); in selectionStartCSSPropertyValue()
2812 RefPtr<EditingStyle> typingStyle; in computeAndSetTypingStyle()
[all …]
DReplaceSelectionCommand.cpp571 …RefPtr<EditingStyle> styleAtInsertionPos = EditingStyle::create(insertionPos.parentAnchoredEquival… in handleStyleSpansBeforeInsertion()
622 …RefPtr<EditingStyle> sourceDocumentStyle = EditingStyle::create(toHTMLElement(sourceDocumentStyleS… in handleStyleSpans()
659 …RefPtr<EditingStyle> copiedRangeStyle = EditingStyle::create(toHTMLElement(copiedRangeStyleSpan)->… in handleStyleSpans()
830 m_insertionStyle = EditingStyle::create(selection.start()); in doApply()
DCompositeEditCommand.cpp106 void CompositeEditCommand::applyStyle(const EditingStyle* style, EditAction editingAction) in applyStyle()
111 void CompositeEditCommand::applyStyle(const EditingStyle* style, const Position& start, const Posit… in applyStyle()
973 RefPtr<EditingStyle> styleInEmptyParagraph; in moveParagraphs()
975 styleInEmptyParagraph = EditingStyle::create(startOfParagraphToMove.deepEquivalent()); in moveParagraphs()
1044 RefPtr<EditingStyle> style = EditingStyle::create(endingSelection().start()); in breakOutOfEmptyListItem()
DInsertLineBreakCommand.cpp167 RefPtr<EditingStyle> typingStyle = document()->frame()->selection()->typingStyle(); in doApply()
Dmarkup.cpp633 RefPtr<EditingStyle> style = EditingStyle::create(parentOfLastClosed); in createMarkup()
658 RefPtr<EditingStyle> defaultStyle = EditingStyle::create(document->documentElement()); in createMarkup()
DInsertParagraphSeparatorCommand.cpp83 m_style = EditingStyle::create(pos); in calculateStyleBeforeInsertion()
DDeleteSelectionCommand.cpp284 m_typingStyle = EditingStyle::create(m_selectionToDelete.start()); in saveTypingStyleState()
290 m_deleteIntoBlockquoteStyle = EditingStyle::create(m_selectionToDelete.end()); in saveTypingStyleState()
DEditor.h368 PassRefPtr<EditingStyle> selectionStartStyle() const;
DEditorCommand.cpp136 RefPtr<EditingStyle> selectionStyle = frame->editor()->selectionStartStyle(); in executeToggleStyleInList()
170 …RefPtr<EditingStyle> style = EditingStyle::create(propertyID, styleIsPresent ? offValue : onValue); in executeToggleStyle()
/external/webkit/Source/WebCore/
DChangeLog3774 * editing/EditingStyle.cpp:
23554 Move StyleChange and other global functions from ApplyStyleCommand to EditingStyle
23558 to EditingStyle. Also moved reconcileTextDecorationProperties, getIdentifierValue,
23562 Because of this move, getPropertiesNotIn is no longer visible outside of EditingStyle.cpp
23566 * editing/EditingStyle.cpp:
23579 * editing/EditingStyle.h:
26839 …(WebCore::DeleteSelectionCommand::saveTypingStyleState): Since EditingStyle's constructor avoids a…
26840 no longer calls positionBeforeTabSpan on the position passed to EditingStyle's constructor.
26841 * editing/EditingStyle.cpp:
26842 (WebCore::EditingStyle::init): Always avoid a tab span when computing the editing style.
[all …]
DChangeLog-2011-02-162689 Deploy EditingStyle in applyBlockStyle and applyInlineStyle
2692 …Deployed EditingStyle in ApplyStyleCommand::applyBlockStyle and ApplyStyleCommand::applyInlineStyl…
2693 Extracted EditingStyle::extractAndRemoveTextDirection from applyInlineStyle.
2694 … Also added propertiesToInclude to the argument list of EditingStyle's constructor that takes Node*
2695 …so that splitAncestorsWithUnicodeBidi can call EditingStyle::textDirection to obtain the text dire…
2700 …(WebCore::ApplyStyleCommand::doApply): Passes EditingStyle* to applyBlockStyle and applyInlineStyl…
2701 (WebCore::ApplyStyleCommand::applyBlockStyle): Takes EditingStyle*.
2703 … from int to WritingDirection. Uses EditingStyle's textDirection to obtain the writing direction.
2704 (WebCore::ApplyStyleCommand::applyInlineStyle): Takes EditingStyle*.
2709 * editing/EditingStyle.cpp:
[all …]
DAndroid.mk233 editing/EditingStyle.cpp \
DWebCore.pro574 editing/EditingStyle.cpp \
1549 editing/EditingStyle.h \
/external/webkit/Source/WebCore/rendering/style/
DRenderStyle.h111 friend class EditingStyle; // Editing has to only reveal unvisited info. variable

12