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

Unified Diff: sky/engine/core/dom/Text.h

Issue 698213002: Remove lots of Text APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/dom/Text.h
diff --git a/sky/engine/core/dom/Text.h b/sky/engine/core/dom/Text.h
index 66b04e990d6eb9b459714340f31459c6352d9641..89ebb0bc98a2614bd02bbb509d498be771d3b0d3 100644
--- a/sky/engine/core/dom/Text.h
+++ b/sky/engine/core/dom/Text.h
@@ -40,16 +40,8 @@ public:
RenderText* renderer() const;
- // mergeNextSiblingNodesIfPossible() merges next sibling nodes if possible
- // then returns a node not merged.
- PassRefPtr<Node> mergeNextSiblingNodesIfPossible();
PassRefPtr<Text> splitText(unsigned offset, ExceptionState&);
- // DOM Level 3: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1312295772
-
- String wholeText() const;
- PassRefPtr<Text> replaceWholeText(const String&);
-
void recalcTextStyle(StyleRecalcChange, Text* nextTextSibling);
bool textRendererIsNeeded(const RenderStyle&, const RenderObject& parent);
RenderText* createTextRenderer(RenderStyle*);

Powered by Google App Engine
This is Rietveld 408576698