Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: third_party/WebKit/Source/core/editing/serializers/Serialization.h

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool isPlainTextMarkup(Node*); 61 bool isPlainTextMarkup(Node*);
62 62
63 // These methods are used by HTMLElement & ShadowRoot to replace the 63 // These methods are used by HTMLElement & ShadowRoot to replace the
64 // children with respected fragment/text. 64 // children with respected fragment/text.
65 void replaceChildrenWithFragment(ContainerNode*, PassRefPtrWillBeRawPtr<Document Fragment>, ExceptionState&); 65 void replaceChildrenWithFragment(ContainerNode*, PassRefPtrWillBeRawPtr<Document Fragment>, ExceptionState&);
66 void replaceChildrenWithText(ContainerNode*, const String&, ExceptionState&); 66 void replaceChildrenWithText(ContainerNode*, const String&, ExceptionState&);
67 67
68 CORE_EXPORT String createMarkup(const Node*, EChildrenOnly = IncludeNode, EAbsol uteURLs = DoNotResolveURLs); 68 CORE_EXPORT String createMarkup(const Node*, EChildrenOnly = IncludeNode, EAbsol uteURLs = DoNotResolveURLs);
69 69
70 CORE_EXPORT String createMarkup(const Position& start, const Position& end, EAnn otateForInterchange = DoNotAnnotateForInterchange, ConvertBlocksToInlines = Conv ertBlocksToInlines::NotConvert, EAbsoluteURLs = DoNotResolveURLs, Node* constrai ningAncestor = nullptr); 70 CORE_EXPORT String createMarkup(const Position& start, const Position& end, EAnn otateForInterchange = DoNotAnnotateForInterchange, ConvertBlocksToInlines = Conv ertBlocksToInlines::NotConvert, EAbsoluteURLs = DoNotResolveURLs, Node* constrai ningAncestor = nullptr);
71 CORE_EXPORT String createMarkup(const PositionInComposedTree& start, const Posit ionInComposedTree& end, EAnnotateForInterchange = DoNotAnnotateForInterchange, C onvertBlocksToInlines = ConvertBlocksToInlines::NotConvert, EAbsoluteURLs = DoNo tResolveURLs, Node* constrainingAncestor = nullptr); 71 CORE_EXPORT String createMarkup(const PositionInFlatTree& start, const PositionI nFlatTree& end, EAnnotateForInterchange = DoNotAnnotateForInterchange, ConvertBl ocksToInlines = ConvertBlocksToInlines::NotConvert, EAbsoluteURLs = DoNotResolve URLs, Node* constrainingAncestor = nullptr);
72 72
73 String urlToMarkup(const KURL&, const String& title); 73 String urlToMarkup(const KURL&, const String& title);
74 void mergeWithNextTextNode(Text*, ExceptionState&); 74 void mergeWithNextTextNode(Text*, ExceptionState&);
75 75
76 bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID); 76 bool propertyMissingOrEqualToNone(StylePropertySet*, CSSPropertyID);
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // Serialization_h 80 #endif // Serialization_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698