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

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

Issue 23851003: Have StyleSheetCollections constructor take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Have StyleSheetCollection constructor take a Document reference as well Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/DocumentStyleSheetCollection.h » ('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, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 , m_wellFormed(false) 391 , m_wellFormed(false)
392 , m_printing(false) 392 , m_printing(false)
393 , m_paginatedForScreen(false) 393 , m_paginatedForScreen(false)
394 , m_ignoreAutofocus(false) 394 , m_ignoreAutofocus(false)
395 , m_compatibilityMode(NoQuirksMode) 395 , m_compatibilityMode(NoQuirksMode)
396 , m_compatibilityModeLocked(false) 396 , m_compatibilityModeLocked(false)
397 , m_didPostCheckFocusedElementTask(false) 397 , m_didPostCheckFocusedElementTask(false)
398 , m_domTreeVersion(++s_globalTreeVersion) 398 , m_domTreeVersion(++s_globalTreeVersion)
399 , m_listenerTypes(0) 399 , m_listenerTypes(0)
400 , m_mutationObserverTypes(0) 400 , m_mutationObserverTypes(0)
401 , m_styleSheetCollections(StyleSheetCollections::create(this)) 401 , m_styleSheetCollections(StyleSheetCollections::create(*this))
402 , m_visitedLinkState(VisitedLinkState::create(this)) 402 , m_visitedLinkState(VisitedLinkState::create(this))
403 , m_visuallyOrdered(false) 403 , m_visuallyOrdered(false)
404 , m_readyState(Complete) 404 , m_readyState(Complete)
405 , m_bParsing(false) 405 , m_bParsing(false)
406 , m_styleRecalcTimer(this, &Document::styleRecalcTimerFired) 406 , m_styleRecalcTimer(this, &Document::styleRecalcTimerFired)
407 , m_inStyleRecalc(false) 407 , m_inStyleRecalc(false)
408 , m_gotoAnchorNeededAfterStylesheetsLoad(false) 408 , m_gotoAnchorNeededAfterStylesheetsLoad(false)
409 , m_containsValidityStyleRules(false) 409 , m_containsValidityStyleRules(false)
410 , m_updateFocusAppearanceRestoresSelection(false) 410 , m_updateFocusAppearanceRestoresSelection(false)
411 , m_ignoreDestructiveWriteCount(0) 411 , m_ignoreDestructiveWriteCount(0)
(...skipping 4882 matching lines...) Expand 10 before | Expand all | Expand 10 after
5294 { 5294 {
5295 return DocumentLifecycleNotifier::create(this); 5295 return DocumentLifecycleNotifier::create(this);
5296 } 5296 }
5297 5297
5298 DocumentLifecycleNotifier* Document::lifecycleNotifier() 5298 DocumentLifecycleNotifier* Document::lifecycleNotifier()
5299 { 5299 {
5300 return static_cast<DocumentLifecycleNotifier*>(ScriptExecutionContext::lifec ycleNotifier()); 5300 return static_cast<DocumentLifecycleNotifier*>(ScriptExecutionContext::lifec ycleNotifier());
5301 } 5301 }
5302 5302
5303 } // namespace WebCore 5303 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/DocumentStyleSheetCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698