/external/chromium_org/third_party/WebKit/Source/core/editing/ |
EditingStyle.h | 62 class EditingStyle : public RefCounted<EditingStyle> { 70 static PassRefPtr<EditingStyle> create() 72 return adoptRef(new EditingStyle()); 75 static PassRefPtr<EditingStyle> create(Node* node, PropertiesToInclude propertiesToInclude = OnlyEditingInheritableProperties) 77 return adoptRef(new EditingStyle(node, propertiesToInclude)); 80 static PassRefPtr<EditingStyle> create(const Position& position, PropertiesToInclude propertiesToInclude = OnlyEditingInheritableProperties) 82 return adoptRef(new EditingStyle(position, propertiesToInclude)); 85 static PassRefPtr<EditingStyle> create(const StylePropertySet* style) 87 return adoptRef(new EditingStyle(style)) [all...] |
ApplyStyleCommand.h | 36 class EditingStyle; 51 static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) 55 static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction action = EditActionChangeAttributes, EPropertyLevel level = PropertyDefault) 63 static PassRefPtr<ApplyStyleCommand> create(Document& document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction action = EditActionChangeAttributes) 69 ApplyStyleCommand(Document&, const EditingStyle*, EditAction, EPropertyLevel); 70 ApplyStyleCommand(Document&, const EditingStyle*, const Position& start, const Position& end, EditAction, EPropertyLevel); 72 ApplyStyleCommand(Document&, const EditingStyle*, bool (*isInlineElementToRemove)(const Element*), EditAction); 79 bool shouldApplyInlineStyleToRun(EditingStyle*, Node* runStart, Node* pastEndNode); 80 void removeConflictingInlineStyleFromRun(EditingStyle*, RefPtr<Node>& runStart, RefPtr<Node>& runEnd, PassRefPtr<Node> pastEndNode); 81 bool removeInlineStyleFromElement(EditingStyle*, PassRefPtr<HTMLElement>, InlineStyleRemovalMode = RemoveIfNeeded, EditingStyle* extractedStyle = (…) [all...] |
EditingStyle.cpp | 28 #include "core/editing/EditingStyle.h" 165 virtual void addToStyle(Element*, EditingStyle*) const; 202 void HTMLElementEquivalent::addToStyle(Element*, EditingStyle* style) const 254 virtual void addToStyle(Element*, EditingStyle*) const; 284 void HTMLAttributeEquivalent::addToStyle(Element* element, EditingStyle* style) const 330 float EditingStyle::NoFontDelta = 0.0f; 332 EditingStyle::EditingStyle() 338 EditingStyle::EditingStyle(Node* node, PropertiesToInclude propertiesToInclude [all...] |
InsertParagraphSeparatorCommand.h | 33 class EditingStyle; 56 RefPtr<EditingStyle> m_style;
|
ApplyStyleCommand.cpp | 40 #include "core/editing/EditingStyle.h" 120 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, EditAction editingAction, EPropertyLevel propertyLevel) 134 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction, EPropertyLevel propertyLevel) 150 , m_style(EditingStyle::create()) 162 ApplyStyleCommand::ApplyStyleCommand(Document& document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction editingAction) 209 RefPtr<EditingStyle> blockStyle = m_style->extractAndRemoveBlockProperties(); 231 void ApplyStyleCommand::applyBlockStyle(EditingStyle *style) 302 void ApplyStyleCommand::applyRelativeFontStyleChange(EditingStyle* style) 471 && EditingStyle::create(highestAncestorWithUnicodeBidi, EditingStyle::AllProperties)->textDirection(highestAncestorDirection [all...] |
DeleteSelectionCommand.h | 33 class EditingStyle; 94 RefPtr<EditingStyle> m_typingStyle; 95 RefPtr<EditingStyle> m_deleteIntoBlockquoteStyle;
|
RemoveFormatCommand.cpp | 35 #include "core/editing/EditingStyle.h" 90 RefPtr<EditingStyle> defaultStyle = EditingStyle::create(root);
|
FrameSelection.h | 31 #include "core/editing/EditingStyle.h" 191 EditingStyle* typingStyle() const; 193 void setTypingStyle(PassRefPtr<EditingStyle>); 257 RefPtr<EditingStyle> m_typingStyle; 269 inline EditingStyle* FrameSelection::typingStyle() const 279 inline void FrameSelection::setTypingStyle(PassRefPtr<EditingStyle> style)
|
CompositeEditCommand.h | 36 class EditingStyle; 96 void applyStyle(const EditingStyle*, EditAction = EditActionChangeAttributes); 97 void applyStyle(const EditingStyle*, const Position& start, const Position& end, EditAction = EditActionChangeAttributes);
|
markup.cpp | 150 RefPtr<EditingStyle> m_wrappingStyle; 221 RefPtr<EditingStyle> wrappingStyle = m_wrappingStyle->copy(); 294 RefPtr<EditingStyle> newInlineStyle; 301 newInlineStyle = EditingStyle::create(); 337 m_wrappingStyle = EditingStyle::wrappingStyleForSerialization(m_highestNodeToBeSerialized->parentNode(), shouldAnnotate()); 479 static PassRefPtr<EditingStyle> styleFromMatchedRulesAndInlineDecl(const Node* node) 487 RefPtr<EditingStyle> style = EditingStyle::create(element->inlineStyle()); 590 RefPtr<EditingStyle> fullySelectedRootStyle = styleFromMatchedRulesAndInlineDecl(fullySelectedRoot); [all...] |
ReplaceSelectionCommand.h | 108 RefPtr<EditingStyle> m_insertionStyle;
|
Editor.cpp | 690 ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction)->apply(); 701 ApplyStyleCommand::create(*m_frame.document(), EditingStyle::create(style).get(), editingAction, ApplyStyleCommand::ForceBlockProperties)->apply(); 722 return EditingStyle::create(propertyID, value)->triStateOfStyle( 723 EditingStyle::styleAtSelectionStart(m_frame.selection().selection(), propertyID == CSSPropertyBackgroundColor).get()); 728 return EditingStyle::create(propertyID, value)->triStateOfStyle(m_frame.selection().selection()); 733 RefPtr<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(m_frame.selection().selection(), [all...] |
InsertLineBreakCommand.cpp | 32 #include "core/editing/EditingStyle.h" 169 RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle();
|
InsertTextCommand.cpp | 224 if (RefPtr<EditingStyle> typingStyle = document().frame()->selection().typingStyle()) { 225 typingStyle->prepareToApplyAt(endPosition, EditingStyle::PreserveWritingDirection);
|
ReplaceSelectionCommand.cpp | 478 RefPtr<EditingStyle> newInlineStyle = EditingStyle::create(inlineStyle); 490 } else if (newInlineStyle->extractConflictingImplicitStyleOfAttributes(htmlElement, EditingStyle::PreserveWritingDirection, 0, attributes, 491 EditingStyle::DoNotExtractMatchingStyle)) { 732 RefPtr<EditingStyle> styleAtInsertionPos = EditingStyle::create(insertionPos.parentAnchoredEquivalent()); 770 RefPtr<EditingStyle> style = EditingStyle::create(wrappingStyleSpan->inlineStyle()); [all...] |
CompositeEditCommand.cpp | 289 void CompositeEditCommand::applyStyle(const EditingStyle* style, EditAction editingAction) 294 void CompositeEditCommand::applyStyle(const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction) [all...] |
DeleteSelectionCommand.cpp | 295 m_typingStyle = EditingStyle::create(m_selectionToDelete.start(), EditingStyle::EditingPropertiesInEffect); 301 m_deleteIntoBlockquoteStyle = EditingStyle::create(m_selectionToDelete.end()); [all...] |
InsertParagraphSeparatorCommand.cpp | 33 #include "core/editing/EditingStyle.h" 83 m_style = EditingStyle::create(pos);
|
EditorCommand.cpp | 136 RefPtr<EditingStyle> selectionStyle = EditingStyle::styleAtSelectionStart(frame.selection().selection()); 170 RefPtr<EditingStyle> style = EditingStyle::create(propertyID, styleIsPresent ? offValue : onValue); 242 WritingDirection selectionDirection = EditingStyle::textDirectionForSelection(frame.selection().selection(), [all...] |
/external/chromium_org/third_party/WebKit/Source/core/ |
webcore_remaining.target.darwin-arm.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |
webcore_remaining.target.darwin-mips.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |
webcore_remaining.target.darwin-x86.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |
webcore_remaining.target.linux-arm.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |
webcore_remaining.target.linux-mips.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |
webcore_remaining.target.linux-x86.mk | 227 third_party/WebKit/Source/core/editing/EditingStyle.cpp \ [all...] |