Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1420)

Side by Side Diff: Source/core/dom/Document.h

Issue 16646002: Move the CSS Device Adaptation @viewport rule support behind a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/resolver/ViewportStyleResolver.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1032 void didRemoveEventTargetNode(Node*); 1032 void didRemoveEventTargetNode(Node*);
1033 1033
1034 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa rgets.get(); } 1034 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa rgets.get(); }
1035 1035
1036 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } 1036 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
1037 1037
1038 void suspendScheduledTasks(ActiveDOMObject::ReasonForSuspension); 1038 void suspendScheduledTasks(ActiveDOMObject::ReasonForSuspension);
1039 void resumeScheduledTasks(); 1039 void resumeScheduledTasks();
1040 1040
1041 IntSize viewportSize() const; 1041 IntSize viewportSize() const;
1042
1043 #if ENABLE(CSS_DEVICE_ADAPTATION)
1044 IntSize initialViewportSize() const; 1042 IntSize initialViewportSize() const;
1045 #endif
1046 1043
1047 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1044 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1048 1045
1049 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1046 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1050 1047
1051 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1048 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1052 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1049 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1053 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1050 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1054 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1051 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1055 CustomElementRegistry* registry() const { return m_registry.get(); } 1052 CustomElementRegistry* registry() const { return m_registry.get(); }
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 inline bool Node::isDocumentNode() const 1486 inline bool Node::isDocumentNode() const
1490 { 1487 {
1491 return this == documentInternal(); 1488 return this == documentInternal();
1492 } 1489 }
1493 1490
1494 Node* eventTargetNodeForDocument(Document*); 1491 Node* eventTargetNodeForDocument(Document*);
1495 1492
1496 } // namespace WebCore 1493 } // namespace WebCore
1497 1494
1498 #endif // Document_h 1495 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/ViewportStyleResolver.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698