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

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

Issue 1895323002: Viewport apply scroll should be on the document element not scrollingElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved attaching applyScroll to childrenChanged Created 4 years, 8 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 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 String m_rawTitle; 1264 String m_rawTitle;
1265 Member<Element> m_titleElement; 1265 Member<Element> m_titleElement;
1266 1266
1267 Member<AXObjectCache> m_axObjectCache; 1267 Member<AXObjectCache> m_axObjectCache;
1268 Member<DocumentMarkerController> m_markers; 1268 Member<DocumentMarkerController> m_markers;
1269 1269
1270 Timer<Document> m_updateFocusAppearanceTimer; 1270 Timer<Document> m_updateFocusAppearanceTimer;
1271 1271
1272 Member<Element> m_cssTarget; 1272 Member<Element> m_cssTarget;
1273 1273
1274 // Not a WeakMember since we want to keep the scrollingElement around until
1275 // we move its ApplyScroll onto the new scrollingElement.
1276 Member<Element> m_oldScrollingElement;
1277
1278 LoadEventProgress m_loadEventProgress; 1274 LoadEventProgress m_loadEventProgress;
1279 1275
1280 double m_startTime; 1276 double m_startTime;
1281 1277
1282 Member<ScriptRunner> m_scriptRunner; 1278 Member<ScriptRunner> m_scriptRunner;
1283 1279
1284 HeapVector<Member<HTMLScriptElement>> m_currentScriptStack; 1280 HeapVector<Member<HTMLScriptElement>> m_currentScriptStack;
1285 1281
1286 OwnPtr<TransformSource> m_transformSource; 1282 OwnPtr<TransformSource> m_transformSource;
1287 1283
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1438 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1443 1439
1444 } // namespace blink 1440 } // namespace blink
1445 1441
1446 #ifndef NDEBUG 1442 #ifndef NDEBUG
1447 // Outside the WebCore namespace for ease of invocation from gdb. 1443 // Outside the WebCore namespace for ease of invocation from gdb.
1448 CORE_EXPORT void showLiveDocumentInstances(); 1444 CORE_EXPORT void showLiveDocumentInstances();
1449 #endif 1445 #endif
1450 1446
1451 #endif // Document_h 1447 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698