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

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

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use RuntimeEnabledFeatures::cssRegionsEnabled all over the places. Guard WEBKIT_REGION_RULE at runt… Created 7 years, 7 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) 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 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionCode&); 303 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionCode&);
304 PassRefPtr<Attr> createAttribute(const String& name, ExceptionCode&); 304 PassRefPtr<Attr> createAttribute(const String& name, ExceptionCode&);
305 PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&, bool shouldIgnoreNamespaceChecks = false); 305 PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&, bool shouldIgnoreNamespaceChecks = false);
306 PassRefPtr<EntityReference> createEntityReference(const String& name, Except ionCode&); 306 PassRefPtr<EntityReference> createEntityReference(const String& name, Except ionCode&);
307 PassRefPtr<Node> importNode(Node* importedNode, ExceptionCode& ec) { return importNode(importedNode, true, ec); } 307 PassRefPtr<Node> importNode(Node* importedNode, ExceptionCode& ec) { return importNode(importedNode, true, ec); }
308 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionCode&); 308 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionCode&);
309 virtual PassRefPtr<Element> createElementNS(const String& namespaceURI, cons t String& qualifiedName, ExceptionCode&); 309 virtual PassRefPtr<Element> createElementNS(const String& namespaceURI, cons t String& qualifiedName, ExceptionCode&);
310 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser ); 310 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser );
311 311
312 bool cssStickyPositionEnabled() const; 312 bool cssStickyPositionEnabled() const;
313 bool cssRegionsEnabled() const;
314 bool cssCompositingEnabled() const; 313 bool cssCompositingEnabled() const;
315 #if ENABLE(CSS_REGIONS)
316 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows(); 314 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
317 #endif
318 315
319 NamedFlowCollection* namedFlows(); 316 NamedFlowCollection* namedFlows();
320 317
321 bool regionBasedColumnsEnabled() const; 318 bool regionBasedColumnsEnabled() const;
322 319
323 bool cssGridLayoutEnabled() const; 320 bool cssGridLayoutEnabled() const;
324 321
325 /** 322 /**
326 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by 323 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by
327 * the boundaries of a node. 324 * the boundaries of a node.
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 trackForDebugging(); 1521 trackForDebugging();
1525 #endif 1522 #endif
1526 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1523 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1527 } 1524 }
1528 1525
1529 Node* eventTargetNodeForDocument(Document*); 1526 Node* eventTargetNodeForDocument(Document*);
1530 1527
1531 } // namespace WebCore 1528 } // namespace WebCore
1532 1529
1533 #endif // Document_h 1530 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698