| 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 | 614 |
| 615 PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); | 615 PassOwnPtr<LifecycleNotifier<Document> > createLifecycleNotifier(); |
| 616 | 616 |
| 617 void setHasViewportUnits() { m_hasViewportUnits = true; } | 617 void setHasViewportUnits() { m_hasViewportUnits = true; } |
| 618 bool hasViewportUnits() const { return m_hasViewportUnits; } | 618 bool hasViewportUnits() const { return m_hasViewportUnits; } |
| 619 void notifyResizeForViewportUnits(); | 619 void notifyResizeForViewportUnits(); |
| 620 | 620 |
| 621 void registerVisibilityObserver(DocumentVisibilityObserver*); | 621 void registerVisibilityObserver(DocumentVisibilityObserver*); |
| 622 void unregisterVisibilityObserver(DocumentVisibilityObserver*); | 622 void unregisterVisibilityObserver(DocumentVisibilityObserver*); |
| 623 | 623 |
| 624 void updateStyleInvalidationIfNeeded(); | |
| 625 | |
| 626 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } | 624 void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; } |
| 627 | 625 |
| 628 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; | 626 virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext,
v8::Isolate*) override; |
| 629 | 627 |
| 630 protected: | 628 protected: |
| 631 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 629 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
| 632 | 630 |
| 633 #if !ENABLE(OILPAN) | 631 #if !ENABLE(OILPAN) |
| 634 virtual void dispose() override; | 632 virtual void dispose() override; |
| 635 #endif | 633 #endif |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 Node* eventTargetNodeForDocument(Document*); | 868 Node* eventTargetNodeForDocument(Document*); |
| 871 | 869 |
| 872 } // namespace blink | 870 } // namespace blink |
| 873 | 871 |
| 874 #ifndef NDEBUG | 872 #ifndef NDEBUG |
| 875 // Outside the WebCore namespace for ease of invocation from gdb. | 873 // Outside the WebCore namespace for ease of invocation from gdb. |
| 876 void showLiveDocumentInstances(); | 874 void showLiveDocumentInstances(); |
| 877 #endif | 875 #endif |
| 878 | 876 |
| 879 #endif // Document_h | 877 #endif // Document_h |
| OLD | NEW |