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

Side by Side Diff: Source/core/dom/Node.h

Issue 18080016: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test (fullscreen issue), added SVG test Created 7 years, 5 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 | « Source/core/dom/ElementRareData.h ('k') | Source/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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 bool isDocumentNode() const; 264 bool isDocumentNode() const;
265 bool isTreeScope() const { return treeScope()->rootNode() == this; } 265 bool isTreeScope() const { return treeScope()->rootNode() == this; }
266 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); } 266 bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); }
267 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); } 267 bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); }
268 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); } 268 bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); }
269 269
270 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); } 270 bool inNamedFlow() const { return getFlag(InNamedFlowFlag); }
271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback sFlag); } 271 bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallback sFlag); }
272 272
273 bool isRegisteredWithNamedFlow() const;
274
273 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi ldNodesFlag); } 275 bool hasSyntheticAttrChildNodes() const { return getFlag(HasSyntheticAttrChi ldNodesFlag); }
274 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt trChildNodesFlag); } 276 void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAt trChildNodesFlag); }
275 277
276 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret urns 0. 278 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret urns 0.
277 Element* shadowHost() const; 279 Element* shadowHost() const;
278 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret urns this. 280 // If this node is in a shadow tree, returns its shadow host. Otherwise, ret urns this.
279 // Deprecated. Should use shadowHost() and check the return value. 281 // Deprecated. Should use shadowHost() and check the return value.
280 Node* deprecatedShadowAncestorNode() const; 282 Node* deprecatedShadowAncestorNode() const;
281 ShadowRoot* containingShadowRoot() const; 283 ShadowRoot* containingShadowRoot() const;
282 ShadowRoot* youngestShadowRoot() const; 284 ShadowRoot* youngestShadowRoot() const;
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 933
932 } //namespace 934 } //namespace
933 935
934 #ifndef NDEBUG 936 #ifndef NDEBUG
935 // Outside the WebCore namespace for ease of invocation from gdb. 937 // Outside the WebCore namespace for ease of invocation from gdb.
936 void showTree(const WebCore::Node*); 938 void showTree(const WebCore::Node*);
937 void showNodePath(const WebCore::Node*); 939 void showNodePath(const WebCore::Node*);
938 #endif 940 #endif
939 941
940 #endif 942 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ElementRareData.h ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698