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

Side by Side Diff: sky/engine/core/dom/Node.h

Issue 867963006: Add the <t> element and ignore whitespace outside it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Do it for a whole subtree. Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 CreateHTMLElement = CreateElement | IsHTMLFlag, 559 CreateHTMLElement = CreateElement | IsHTMLFlag,
560 CreateDocument = CreateContainer | InDocumentFlag, 560 CreateDocument = CreateContainer | InDocumentFlag,
561 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag, 561 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag,
562 CreateEditingText = CreateText | IsEditingTextFlag, 562 CreateEditingText = CreateText | IsEditingTextFlag,
563 }; 563 };
564 564
565 Node(TreeScope*, ConstructionType); 565 Node(TreeScope*, ConstructionType);
566 566
567 virtual void didMoveToNewDocument(Document& oldDocument); 567 virtual void didMoveToNewDocument(Document& oldDocument);
568 568
569 static void reattachWhitespaceSiblings(Text* start);
570
571 #if !ENABLE(OILPAN) 569 #if !ENABLE(OILPAN)
572 void willBeDeletedFromDocument(); 570 void willBeDeletedFromDocument();
573 #endif 571 #endif
574 572
575 bool hasRareData() const { return getFlag(HasRareDataFlag); } 573 bool hasRareData() const { return getFlag(HasRareDataFlag); }
576 574
577 NodeRareData* rareData() const; 575 NodeRareData* rareData() const;
578 NodeRareData& ensureRareData(); 576 NodeRareData& ensureRareData();
579 #if !ENABLE(OILPAN) 577 #if !ENABLE(OILPAN)
580 void clearRareData(); 578 void clearRareData();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 } // namespace blink 693 } // namespace blink
696 694
697 #ifndef NDEBUG 695 #ifndef NDEBUG
698 // Outside the WebCore namespace for ease of invocation from gdb. 696 // Outside the WebCore namespace for ease of invocation from gdb.
699 void showNode(const blink::Node*); 697 void showNode(const blink::Node*);
700 void showTree(const blink::Node*); 698 void showTree(const blink::Node*);
701 void showNodePath(const blink::Node*); 699 void showNodePath(const blink::Node*);
702 #endif 700 #endif
703 701
704 #endif // SKY_ENGINE_CORE_DOM_NODE_H_ 702 #endif // SKY_ENGINE_CORE_DOM_NODE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698