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

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

Issue 2400443004: Walk up frame tree for srcdoc referrer policies (Closed)
Patch Set: fix dynamic policy test Created 4 years, 2 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
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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart); 284 DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
285 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel); 285 DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
286 286
287 bool shouldMergeWithLegacyDescription(ViewportDescription::Type) const; 287 bool shouldMergeWithLegacyDescription(ViewportDescription::Type) const;
288 bool shouldOverrideLegacyDescription(ViewportDescription::Type) const; 288 bool shouldOverrideLegacyDescription(ViewportDescription::Type) const;
289 void setViewportDescription(const ViewportDescription&); 289 void setViewportDescription(const ViewportDescription&);
290 ViewportDescription viewportDescription() const; 290 ViewportDescription viewportDescription() const;
291 Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; } 291 Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; }
292 292
293 String outgoingReferrer() const override; 293 String outgoingReferrer() const override;
294 ReferrerPolicy getReferrerPolicy() const override;
294 295
295 void setDoctype(DocumentType*); 296 void setDoctype(DocumentType*);
296 DocumentType* doctype() const { return m_docType.get(); } 297 DocumentType* doctype() const { return m_docType.get(); }
297 298
298 DOMImplementation& implementation(); 299 DOMImplementation& implementation();
299 300
300 Element* documentElement() const { return m_documentElement.get(); } 301 Element* documentElement() const { return m_documentElement.get(); }
301 302
302 // Returns whether the Document has an AppCache manifest. 303 // Returns whether the Document has an AppCache manifest.
303 bool hasAppCacheManifest() const; 304 bool hasAppCacheManifest() const;
(...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after
1685 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1686 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1686 1687
1687 } // namespace blink 1688 } // namespace blink
1688 1689
1689 #ifndef NDEBUG 1690 #ifndef NDEBUG
1690 // Outside the WebCore namespace for ease of invocation from gdb. 1691 // Outside the WebCore namespace for ease of invocation from gdb.
1691 CORE_EXPORT void showLiveDocumentInstances(); 1692 CORE_EXPORT void showLiveDocumentInstances();
1692 #endif 1693 #endif
1693 1694
1694 #endif // Document_h 1695 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698