diff options
Diffstat (limited to 'Source/WebCore/dom/Document.h')
-rw-r--r-- | Source/WebCore/dom/Document.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/WebCore/dom/Document.h b/Source/WebCore/dom/Document.h index c4ccb9c..353013e 100644 --- a/Source/WebCore/dom/Document.h +++ b/Source/WebCore/dom/Document.h @@ -6,6 +6,9 @@ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) + * Copyright (c) 2011, 2012 Code Aurora Forum. All rights reserved + * Copyright (C) 2011, 2012 Sony Ericsson Mobile Communications AB + * Copyright (C) 2012 Sony Mobile Communcations AB * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -1035,6 +1038,15 @@ public: void initializeWMLPageState(); #endif +#if ENABLE(WEBGL) && PLATFORM(ANDROID) + void setContainsWebGLContent(bool value) { m_containsWebGLContent = value; } + bool containsWebGLContent() const { return m_containsWebGLContent; } + void suspendDocument(); + void resumeDocument(); + void registerForDocumentSuspendCallbacks(Element*); + void unregisterForDocumentSuspendCallbacks(Element*); +#endif + bool containsValidityStyleRules() const { return m_containsValidityStyleRules; } void setContainsValidityStyleRules() { m_containsValidityStyleRules = true; } @@ -1368,6 +1380,11 @@ private: bool m_containsWMLContent; #endif +#if ENABLE(WEBGL) && PLATFORM(ANDROID) + bool m_containsWebGLContent; + HashSet<Element*> m_documentSuspendCallbackElements; +#endif + RefPtr<DocumentWeakReference> m_weakReference; HashSet<MediaCanStartListener*> m_mediaCanStartListeners; |