| 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, 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 | 1060 |
| 1061 void Document::setReadyState(ReadyState readyState) | 1061 void Document::setReadyState(ReadyState readyState) |
| 1062 { | 1062 { |
| 1063 if (readyState == m_readyState) | 1063 if (readyState == m_readyState) |
| 1064 return; | 1064 return; |
| 1065 | 1065 |
| 1066 switch (readyState) { | 1066 switch (readyState) { |
| 1067 case Loading: | 1067 case Loading: |
| 1068 if (!m_documentTiming.domLoading) { | 1068 if (!m_documentTiming.domLoading) { |
| 1069 m_documentTiming.domLoading = monotonicallyIncreasingTime(); | 1069 m_documentTiming.domLoading = monotonicallyIncreasingTime(); |
| 1070 if (RuntimeEnabledFeatures::webAnimationsEnabled()) | 1070 if (RuntimeEnabledFeatures::webAnimationsCSSEnabled()) |
| 1071 m_timeline->setZeroTime(m_documentTiming.domLoading); | 1071 m_timeline->setZeroTime(m_documentTiming.domLoading); |
| 1072 } | 1072 } |
| 1073 break; | 1073 break; |
| 1074 case Interactive: | 1074 case Interactive: |
| 1075 if (!m_documentTiming.domInteractive) | 1075 if (!m_documentTiming.domInteractive) |
| 1076 m_documentTiming.domInteractive = monotonicallyIncreasingTime(); | 1076 m_documentTiming.domInteractive = monotonicallyIncreasingTime(); |
| 1077 break; | 1077 break; |
| 1078 case Complete: | 1078 case Complete: |
| 1079 if (!m_documentTiming.domComplete) | 1079 if (!m_documentTiming.domComplete) |
| 1080 m_documentTiming.domComplete = monotonicallyIncreasingTime(); | 1080 m_documentTiming.domComplete = monotonicallyIncreasingTime(); |
| (...skipping 4113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5194 void Document::modifiedStyleSheet(StyleSheet* sheet, RecalcStyleTime when, Style
ResolverUpdateMode updateMode) | 5194 void Document::modifiedStyleSheet(StyleSheet* sheet, RecalcStyleTime when, Style
ResolverUpdateMode updateMode) |
| 5195 { | 5195 { |
| 5196 if (!isActive()) | 5196 if (!isActive()) |
| 5197 return; | 5197 return; |
| 5198 | 5198 |
| 5199 styleEngine()->modifiedStyleSheet(sheet); | 5199 styleEngine()->modifiedStyleSheet(sheet); |
| 5200 styleResolverChanged(when, updateMode); | 5200 styleResolverChanged(when, updateMode); |
| 5201 } | 5201 } |
| 5202 | 5202 |
| 5203 } // namespace WebCore | 5203 } // namespace WebCore |
| OLD | NEW |