Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1164 | 1164 |
| 1165 void setHoverNode(Node*); | 1165 void setHoverNode(Node*); |
| 1166 | 1166 |
| 1167 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; | 1167 using EventFactorySet = HashSet<OwnPtr<EventFactoryBase>>; |
| 1168 static EventFactorySet& eventFactories(); | 1168 static EventFactorySet& eventFactories(); |
| 1169 | 1169 |
| 1170 void setNthIndexCache(NthIndexCache* nthIndexCache) { DCHECK(!m_nthIndexCach e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } | 1170 void setNthIndexCache(NthIndexCache* nthIndexCache) { DCHECK(!m_nthIndexCach e || !nthIndexCache); m_nthIndexCache = nthIndexCache; } |
| 1171 | 1171 |
| 1172 const OriginAccessEntry& accessEntryFromURL(); | 1172 const OriginAccessEntry& accessEntryFromURL(); |
| 1173 | 1173 |
| 1174 // Installs the viewport scrolling callback (the "applyScroll" in Scroll | |
| 1175 // Customization lingo) on the root scrollingElement. This callback is | |
| 1176 // responsible for viewport related scroll actions like top controls | |
| 1177 // movement and overscroll glow as well as actually scrolling the root | |
| 1178 // viewport. | |
| 1179 void updateViewportApplyScroll(); | |
| 1180 | |
| 1174 DocumentLifecycle m_lifecycle; | 1181 DocumentLifecycle m_lifecycle; |
| 1175 | 1182 |
| 1176 bool m_hasNodesWithPlaceholderStyle; | 1183 bool m_hasNodesWithPlaceholderStyle; |
| 1177 bool m_evaluateMediaQueriesOnStyleRecalc; | 1184 bool m_evaluateMediaQueriesOnStyleRecalc; |
| 1178 | 1185 |
| 1179 // If we do ignore the pending stylesheet count, then we need to add a boole an | 1186 // If we do ignore the pending stylesheet count, then we need to add a boole an |
| 1180 // to track that this happened so that we can do a full repaint when the sty lesheets | 1187 // to track that this happened so that we can do a full repaint when the sty lesheets |
| 1181 // do eventually load. | 1188 // do eventually load. |
| 1182 PendingSheetLayout m_pendingSheetLayout; | 1189 PendingSheetLayout m_pendingSheetLayout; |
| 1183 | 1190 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1270 String m_rawTitle; | 1277 String m_rawTitle; |
| 1271 Member<Element> m_titleElement; | 1278 Member<Element> m_titleElement; |
| 1272 | 1279 |
| 1273 Member<AXObjectCache> m_axObjectCache; | 1280 Member<AXObjectCache> m_axObjectCache; |
| 1274 Member<DocumentMarkerController> m_markers; | 1281 Member<DocumentMarkerController> m_markers; |
| 1275 | 1282 |
| 1276 Timer<Document> m_updateFocusAppearanceTimer; | 1283 Timer<Document> m_updateFocusAppearanceTimer; |
| 1277 | 1284 |
| 1278 Member<Element> m_cssTarget; | 1285 Member<Element> m_cssTarget; |
| 1279 | 1286 |
| 1287 // Not a WeakMember since if we remove the scrolling element we want to keep | |
| 1288 // it around until we move its ApplyScroll onto the new scrollingElement. | |
|
tdresser
2016/04/12 13:59:15
Comment wording is confusing.
I think you just ne
bokan
2016/04/12 15:13:53
Done.
| |
| 1289 Member<Element> m_oldScrollingElement; | |
| 1290 | |
| 1280 LoadEventProgress m_loadEventProgress; | 1291 LoadEventProgress m_loadEventProgress; |
| 1281 | 1292 |
| 1282 double m_startTime; | 1293 double m_startTime; |
| 1283 | 1294 |
| 1284 Member<ScriptRunner> m_scriptRunner; | 1295 Member<ScriptRunner> m_scriptRunner; |
| 1285 | 1296 |
| 1286 HeapVector<Member<HTMLScriptElement>> m_currentScriptStack; | 1297 HeapVector<Member<HTMLScriptElement>> m_currentScriptStack; |
| 1287 | 1298 |
| 1288 OwnPtr<TransformSource> m_transformSource; | 1299 OwnPtr<TransformSource> m_transformSource; |
| 1289 | 1300 |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1452 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1463 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1453 | 1464 |
| 1454 } // namespace blink | 1465 } // namespace blink |
| 1455 | 1466 |
| 1456 #ifndef NDEBUG | 1467 #ifndef NDEBUG |
| 1457 // Outside the WebCore namespace for ease of invocation from gdb. | 1468 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1458 CORE_EXPORT void showLiveDocumentInstances(); | 1469 CORE_EXPORT void showLiveDocumentInstances(); |
| 1459 #endif | 1470 #endif |
| 1460 | 1471 |
| 1461 #endif // Document_h | 1472 #endif // Document_h |
| OLD | NEW |