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

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

Issue 134473008: Remove CSS regions support, keeping a bare minimum to support "region-based" multicol. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 6 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
« no previous file with comments | « Source/core/dom/DOMNamedFlowCollection.cpp ('k') | Source/core/dom/Document.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 * (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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class CSSStyleSheet; 70 class CSSStyleSheet;
71 class CSSStyleSheetResource; 71 class CSSStyleSheetResource;
72 class CanvasRenderingContext; 72 class CanvasRenderingContext;
73 class CharacterData; 73 class CharacterData;
74 class Chrome; 74 class Chrome;
75 class Comment; 75 class Comment;
76 class ContentSecurityPolicyResponseHeaders; 76 class ContentSecurityPolicyResponseHeaders;
77 class ContextFeatures; 77 class ContextFeatures;
78 class CustomElementRegistrationContext; 78 class CustomElementRegistrationContext;
79 class DOMImplementation; 79 class DOMImplementation;
80 class DOMNamedFlowCollection;
81 class DOMSelection; 80 class DOMSelection;
82 class DOMWindow; 81 class DOMWindow;
83 class Database; 82 class Database;
84 class DatabaseThread; 83 class DatabaseThread;
85 class DocumentFragment; 84 class DocumentFragment;
86 class DocumentLifecycleNotifier; 85 class DocumentLifecycleNotifier;
87 class DocumentLifecycleObserver; 86 class DocumentLifecycleObserver;
88 class DocumentLoader; 87 class DocumentLoader;
89 class DocumentMarkerController; 88 class DocumentMarkerController;
90 class DocumentParser; 89 class DocumentParser;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 class JSNode; 121 class JSNode;
123 class LayoutPoint; 122 class LayoutPoint;
124 class LayoutRect; 123 class LayoutRect;
125 class LiveNodeListBase; 124 class LiveNodeListBase;
126 class Locale; 125 class Locale;
127 class Location; 126 class Location;
128 class MainThreadTaskRunner; 127 class MainThreadTaskRunner;
129 class MediaQueryList; 128 class MediaQueryList;
130 class MediaQueryMatcher; 129 class MediaQueryMatcher;
131 class MouseEventWithHitTestResults; 130 class MouseEventWithHitTestResults;
132 class NamedFlowCollection;
133 class NodeFilter; 131 class NodeFilter;
134 class NodeIterator; 132 class NodeIterator;
135 class Page; 133 class Page;
136 class PlatformMouseEvent; 134 class PlatformMouseEvent;
137 class ProcessingInstruction; 135 class ProcessingInstruction;
138 class Range; 136 class Range;
139 class RegisteredEventListener; 137 class RegisteredEventListener;
140 class RenderView; 138 class RenderView;
141 class RequestAnimationFrameCallback; 139 class RequestAnimationFrameCallback;
142 class ResourceFetcher; 140 class ResourceFetcher;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 PassRefPtr<Text> createTextNode(const String& data); 311 PassRefPtr<Text> createTextNode(const String& data);
314 PassRefPtr<Comment> createComment(const String& data); 312 PassRefPtr<Comment> createComment(const String& data);
315 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&); 313 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&);
316 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&); 314 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&);
317 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&); 315 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&);
318 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); } 316 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); }
319 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); 317 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&);
320 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&); 318 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&);
321 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser ); 319 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser );
322 320
323 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
324
325 NamedFlowCollection* namedFlows();
326
327 bool regionBasedColumnsEnabled() const; 321 bool regionBasedColumnsEnabled() const;
328 322
329 /** 323 /**
330 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by 324 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by
331 * the boundaries of a node. 325 * the boundaries of a node.
332 * 326 *
333 * @param centerX x reference for the rectangle in CSS pixels 327 * @param centerX x reference for the rectangle in CSS pixels
334 * @param centerY y reference for the rectangle in CSS pixels 328 * @param centerY y reference for the rectangle in CSS pixels
335 * @param topPadding How much to expand the top of the rectangle 329 * @param topPadding How much to expand the top of the rectangle
336 * @param rightPadding How much to expand the right of the rectangle 330 * @param rightPadding How much to expand the right of the rectangle
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 1312
1319 double m_lastHandledUserGestureTimestamp; 1313 double m_lastHandledUserGestureTimestamp;
1320 1314
1321 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1315 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1322 OwnPtr<MainThreadTaskRunner> m_taskRunner; 1316 OwnPtr<MainThreadTaskRunner> m_taskRunner;
1323 OwnPtr<TextAutosizer> m_textAutosizer; 1317 OwnPtr<TextAutosizer> m_textAutosizer;
1324 OwnPtr<FastTextAutosizer> m_fastTextAutosizer; 1318 OwnPtr<FastTextAutosizer> m_fastTextAutosizer;
1325 1319
1326 RefPtr<CustomElementRegistrationContext> m_registrationContext; 1320 RefPtr<CustomElementRegistrationContext> m_registrationContext;
1327 1321
1328 RefPtr<NamedFlowCollection> m_namedFlows;
1329
1330 void elementDataCacheClearTimerFired(Timer<Document>*); 1322 void elementDataCacheClearTimerFired(Timer<Document>*);
1331 Timer<Document> m_elementDataCacheClearTimer; 1323 Timer<Document> m_elementDataCacheClearTimer;
1332 1324
1333 OwnPtr<ElementDataCache> m_elementDataCache; 1325 OwnPtr<ElementDataCache> m_elementDataCache;
1334 1326
1335 #ifndef NDEBUG 1327 #ifndef NDEBUG
1336 bool m_didDispatchViewportPropertiesChanged; 1328 bool m_didDispatchViewportPropertiesChanged;
1337 #endif 1329 #endif
1338 1330
1339 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1331 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 inline bool Node::isDocumentNode() const 1394 inline bool Node::isDocumentNode() const
1403 { 1395 {
1404 return this == document(); 1396 return this == document();
1405 } 1397 }
1406 1398
1407 Node* eventTargetNodeForDocument(Document*); 1399 Node* eventTargetNodeForDocument(Document*);
1408 1400
1409 } // namespace WebCore 1401 } // namespace WebCore
1410 1402
1411 #endif // Document_h 1403 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/DOMNamedFlowCollection.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698