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

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

Issue 1333323003: SnapManager implementation using V8 Extras - {WIP} Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update with latest master Created 4 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
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 class ScriptRunner; 148 class ScriptRunner;
149 class ScriptableDocumentParser; 149 class ScriptableDocumentParser;
150 class ScriptedAnimationController; 150 class ScriptedAnimationController;
151 class ScriptedIdleTaskController; 151 class ScriptedIdleTaskController;
152 class SecurityOrigin; 152 class SecurityOrigin;
153 class SegmentedString; 153 class SegmentedString;
154 class SelectorQueryCache; 154 class SelectorQueryCache;
155 class SerializedScriptValue; 155 class SerializedScriptValue;
156 class Settings; 156 class Settings;
157 class SnapCoordinator; 157 class SnapCoordinator;
158 class SnapManagerBridge;
158 class StyleEngine; 159 class StyleEngine;
159 class StyleResolver; 160 class StyleResolver;
160 class StyleSheet; 161 class StyleSheet;
161 class StyleSheetList; 162 class StyleSheetList;
162 class Text; 163 class Text;
163 class TextAutosizer; 164 class TextAutosizer;
164 class Touch; 165 class Touch;
165 class TouchList; 166 class TouchList;
166 class TransformSource; 167 class TransformSource;
167 class TreeWalker; 168 class TreeWalker;
(...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 Member<CanvasFontCache> m_canvasFontCache; 1406 Member<CanvasFontCache> m_canvasFontCache;
1406 1407
1407 Member<IntersectionObserverController> m_intersectionObserverController; 1408 Member<IntersectionObserverController> m_intersectionObserverController;
1408 Member<NodeIntersectionObserverData> m_intersectionObserverData; 1409 Member<NodeIntersectionObserverData> m_intersectionObserverData;
1409 1410
1410 int m_nodeCount; 1411 int m_nodeCount;
1411 1412
1412 bool m_mayContainV0Shadow = false; 1413 bool m_mayContainV0Shadow = false;
1413 1414
1414 Member<SnapCoordinator> m_snapCoordinator; 1415 Member<SnapCoordinator> m_snapCoordinator;
1416 Member<SnapManagerBridge> m_snapManagerBridge;
1415 }; 1417 };
1416 1418
1417 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>; 1419 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>;
1418 1420
1419 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type origin) const 1421 inline bool Document::shouldOverrideLegacyDescription(ViewportDescription::Type origin) const
1420 { 1422 {
1421 // The different (legacy) meta tags have different priorities based on the t ype 1423 // The different (legacy) meta tags have different priorities based on the t ype
1422 // regardless of which order they appear in the DOM. The priority is given b y the 1424 // regardless of which order they appear in the DOM. The priority is given b y the
1423 // ViewportDescription::Type enum. 1425 // ViewportDescription::Type enum.
1424 return origin >= m_legacyViewportDescription.type; 1426 return origin >= m_legacyViewportDescription.type;
(...skipping 29 matching lines...) Expand all
1454 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1456 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1455 1457
1456 } // namespace blink 1458 } // namespace blink
1457 1459
1458 #ifndef NDEBUG 1460 #ifndef NDEBUG
1459 // Outside the WebCore namespace for ease of invocation from gdb. 1461 // Outside the WebCore namespace for ease of invocation from gdb.
1460 CORE_EXPORT void showLiveDocumentInstances(); 1462 CORE_EXPORT void showLiveDocumentInstances();
1461 #endif 1463 #endif
1462 1464
1463 #endif // Document_h 1465 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core_generated.gyp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698