| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 PluginDocumentClass = 1 << 3, | 193 PluginDocumentClass = 1 << 3, |
| 194 MediaDocumentClass = 1 << 4, | 194 MediaDocumentClass = 1 << 4, |
| 195 SVGDocumentClass = 1 << 5, | 195 SVGDocumentClass = 1 << 5, |
| 196 XMLDocumentClass = 1 << 6, | 196 XMLDocumentClass = 1 << 6, |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 using DocumentClassFlags = unsigned char; | 199 using DocumentClassFlags = unsigned char; |
| 200 | 200 |
| 201 class Document; | 201 class Document; |
| 202 | 202 |
| 203 class DocumentVisibilityObserver : public WillBeGarbageCollectedMixin { | 203 class CORE_EXPORT DocumentVisibilityObserver : public WillBeGarbageCollectedMixi
n { |
| 204 public: | 204 public: |
| 205 DocumentVisibilityObserver(Document&); | 205 DocumentVisibilityObserver(Document&); |
| 206 virtual ~DocumentVisibilityObserver(); | 206 virtual ~DocumentVisibilityObserver(); |
| 207 | 207 |
| 208 virtual void didChangeVisibilityState(PageVisibilityState) = 0; | 208 virtual void didChangeVisibilityState(PageVisibilityState) = 0; |
| 209 | 209 |
| 210 // Classes that inherit Node and DocumentVisibilityObserver must have a | 210 // Classes that inherit Node and DocumentVisibilityObserver must have a |
| 211 // virtual override of Node::didMoveToNewDocument that calls | 211 // virtual override of Node::didMoveToNewDocument that calls |
| 212 // DocumentVisibilityObserver::setDocument | 212 // DocumentVisibilityObserver::setDocument |
| 213 void setObservedDocument(Document&); | 213 void setObservedDocument(Document&); |
| (...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 Node* eventTargetNodeForDocument(Document*); | 1448 Node* eventTargetNodeForDocument(Document*); |
| 1449 | 1449 |
| 1450 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1450 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1451 | 1451 |
| 1452 } // namespace blink | 1452 } // namespace blink |
| 1453 | 1453 |
| 1454 #ifndef NDEBUG | 1454 #ifndef NDEBUG |
| 1455 // Outside the WebCore namespace for ease of invocation from gdb. | 1455 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1456 void showLiveDocumentInstances(); | 1456 CORE_EXPORT void showLiveDocumentInstances(); |
| 1457 #endif | 1457 #endif |
| 1458 | 1458 |
| 1459 #endif // Document_h | 1459 #endif // Document_h |
| OLD | NEW |