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

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: 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
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 DOMWrapperWorld; 82 class DOMWrapperWorld;
84 class Database; 83 class Database;
85 class DatabaseThread; 84 class DatabaseThread;
86 class DocumentFragment; 85 class DocumentFragment;
87 class DocumentLifecycleNotifier; 86 class DocumentLifecycleNotifier;
88 class DocumentLifecycleObserver; 87 class DocumentLifecycleObserver;
89 class DocumentLoader; 88 class DocumentLoader;
90 class DocumentMarkerController; 89 class DocumentMarkerController;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 class JSNode; 122 class JSNode;
124 class LayoutPoint; 123 class LayoutPoint;
125 class LayoutRect; 124 class LayoutRect;
126 class LiveNodeListBase; 125 class LiveNodeListBase;
127 class Locale; 126 class Locale;
128 class Location; 127 class Location;
129 class MainThreadTaskRunner; 128 class MainThreadTaskRunner;
130 class MediaQueryList; 129 class MediaQueryList;
131 class MediaQueryMatcher; 130 class MediaQueryMatcher;
132 class MouseEventWithHitTestResults; 131 class MouseEventWithHitTestResults;
133 class NamedFlowCollection;
134 class NodeFilter; 132 class NodeFilter;
135 class NodeIterator; 133 class NodeIterator;
136 class Page; 134 class Page;
137 class PlatformMouseEvent; 135 class PlatformMouseEvent;
138 class ProcessingInstruction; 136 class ProcessingInstruction;
139 class Range; 137 class Range;
140 class RegisteredEventListener; 138 class RegisteredEventListener;
141 class RenderView; 139 class RenderView;
142 class RequestAnimationFrameCallback; 140 class RequestAnimationFrameCallback;
143 class ResourceFetcher; 141 class ResourceFetcher;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 PassRefPtr<Text> createTextNode(const String& data); 312 PassRefPtr<Text> createTextNode(const String& data);
315 PassRefPtr<Comment> createComment(const String& data); 313 PassRefPtr<Comment> createComment(const String& data);
316 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&); 314 PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionSta te&);
317 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&); 315 PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionState&);
318 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&); 316 PassRefPtr<Attr> createAttribute(const AtomicString& name, ExceptionState&);
319 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); } 317 PassRefPtr<Node> importNode(Node* importedNode, ExceptionState& ec) { return importNode(importedNode, true, ec); }
320 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&); 318 PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionState&);
321 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&); 319 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState&);
322 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser ); 320 PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser );
323 321
324 PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
325
326 NamedFlowCollection* namedFlows();
327
328 bool regionBasedColumnsEnabled() const; 322 bool regionBasedColumnsEnabled() const;
329 323
330 /** 324 /**
331 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by 325 * Retrieve all nodes that intersect a rect in the window's document, until it is fully enclosed by
332 * the boundaries of a node. 326 * the boundaries of a node.
333 * 327 *
334 * @param centerX x reference for the rectangle in CSS pixels 328 * @param centerX x reference for the rectangle in CSS pixels
335 * @param centerY y reference for the rectangle in CSS pixels 329 * @param centerY y reference for the rectangle in CSS pixels
336 * @param topPadding How much to expand the top of the rectangle 330 * @param topPadding How much to expand the top of the rectangle
337 * @param rightPadding How much to expand the right of the rectangle 331 * @param rightPadding How much to expand the right of the rectangle
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 1309
1316 double m_lastHandledUserGestureTimestamp; 1310 double m_lastHandledUserGestureTimestamp;
1317 1311
1318 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1312 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1319 OwnPtr<MainThreadTaskRunner> m_taskRunner; 1313 OwnPtr<MainThreadTaskRunner> m_taskRunner;
1320 OwnPtr<TextAutosizer> m_textAutosizer; 1314 OwnPtr<TextAutosizer> m_textAutosizer;
1321 OwnPtr<FastTextAutosizer> m_fastTextAutosizer; 1315 OwnPtr<FastTextAutosizer> m_fastTextAutosizer;
1322 1316
1323 RefPtr<CustomElementRegistrationContext> m_registrationContext; 1317 RefPtr<CustomElementRegistrationContext> m_registrationContext;
1324 1318
1325 RefPtr<NamedFlowCollection> m_namedFlows;
1326
1327 void elementDataCacheClearTimerFired(Timer<Document>*); 1319 void elementDataCacheClearTimerFired(Timer<Document>*);
1328 Timer<Document> m_elementDataCacheClearTimer; 1320 Timer<Document> m_elementDataCacheClearTimer;
1329 1321
1330 OwnPtr<ElementDataCache> m_elementDataCache; 1322 OwnPtr<ElementDataCache> m_elementDataCache;
1331 1323
1332 #ifndef NDEBUG 1324 #ifndef NDEBUG
1333 bool m_didDispatchViewportPropertiesChanged; 1325 bool m_didDispatchViewportPropertiesChanged;
1334 #endif 1326 #endif
1335 1327
1336 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap; 1328 typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 inline bool Node::isDocumentNode() const 1380 inline bool Node::isDocumentNode() const
1389 { 1381 {
1390 return this == document(); 1382 return this == document();
1391 } 1383 }
1392 1384
1393 Node* eventTargetNodeForDocument(Document*); 1385 Node* eventTargetNodeForDocument(Document*);
1394 1386
1395 } // namespace WebCore 1387 } // namespace WebCore
1396 1388
1397 #endif // Document_h 1389 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698