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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 378 bool isMediaDocument() const { return m_documentClasses & MediaDocumentClass ; } | 378 bool isMediaDocument() const { return m_documentClasses & MediaDocumentClass ; } |
| 379 | 379 |
| 380 bool hasSVGRootNode() const; | 380 bool hasSVGRootNode() const; |
| 381 | 381 |
| 382 bool isFrameSet() const; | 382 bool isFrameSet() const; |
| 383 | 383 |
| 384 bool isSrcdocDocument() const { return m_isSrcdocDocument; } | 384 bool isSrcdocDocument() const { return m_isSrcdocDocument; } |
| 385 bool isMobileDocument() const { return m_isMobileDocument; } | 385 bool isMobileDocument() const { return m_isMobileDocument; } |
| 386 | 386 |
| 387 bool isTransitionDocument() const { return m_isTransitionDocument; } | 387 bool isTransitionDocument() const { return m_isTransitionDocument; } |
| 388 void setIsTransitionDocument() { m_isTransitionDocument = true; } | 388 void setIsTransitionDocument() { m_isTransitionDocument = true; } |
|
Nate Chapin
2014/12/05 23:11:36
should this take a boolean, rather than having a s
Zhen Wang
2014/12/06 00:57:37
Done.
| |
| 389 void resetIsTransitionDocument() { m_isTransitionDocument = false; } | |
| 389 void hideTransitionElements(const AtomicString& cssSelector); | 390 void hideTransitionElements(const AtomicString& cssSelector); |
| 390 void showTransitionElements(const AtomicString& cssSelector); | 391 void showTransitionElements(const AtomicString& cssSelector); |
| 391 | 392 |
| 392 struct TransitionElement { | 393 struct TransitionElement { |
| 393 String id; | 394 String id; |
| 394 IntRect rect; | 395 IntRect rect; |
| 395 }; | 396 }; |
| 396 | 397 |
| 397 struct TransitionElementData { | 398 struct TransitionElementData { |
| 398 String scope; | 399 String scope; |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1422 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1423 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1423 | 1424 |
| 1424 } // namespace blink | 1425 } // namespace blink |
| 1425 | 1426 |
| 1426 #ifndef NDEBUG | 1427 #ifndef NDEBUG |
| 1427 // Outside the WebCore namespace for ease of invocation from gdb. | 1428 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1428 void showLiveDocumentInstances(); | 1429 void showLiveDocumentInstances(); |
| 1429 #endif | 1430 #endif |
| 1430 | 1431 |
| 1431 #endif // Document_h | 1432 #endif // Document_h |
| OLD | NEW |