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

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

Issue 2075053003: Add basic Referrer-Policy support for Documents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation for tweaked console message Created 4 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
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 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 return m_mutationObserverTypes & type; 699 return m_mutationObserverTypes & type;
700 } 700 }
701 bool hasMutationObservers() const { return m_mutationObserverTypes; } 701 bool hasMutationObservers() const { return m_mutationObserverTypes; }
702 void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObs erverTypes |= types; } 702 void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObs erverTypes |= types; }
703 703
704 IntersectionObserverController* intersectionObserverController(); 704 IntersectionObserverController* intersectionObserverController();
705 IntersectionObserverController& ensureIntersectionObserverController(); 705 IntersectionObserverController& ensureIntersectionObserverController();
706 NodeIntersectionObserverData& ensureIntersectionObserverData(); 706 NodeIntersectionObserverData& ensureIntersectionObserverData();
707 707
708 void updateViewportDescription(); 708 void updateViewportDescription();
709 void processReferrerPolicy(const String& policy);
710 709
711 // Returns the owning element in the parent document. Returns nullptr if 710 // Returns the owning element in the parent document. Returns nullptr if
712 // this is the top level document or the owner is remote. 711 // this is the top level document or the owner is remote.
713 HTMLFrameOwnerElement* localOwner() const; 712 HTMLFrameOwnerElement* localOwner() const;
714 713
715 // Returns true if this document belongs to a frame that the parent document 714 // Returns true if this document belongs to a frame that the parent document
716 // made invisible (for instance by setting as style display:none). 715 // made invisible (for instance by setting as style display:none).
717 bool isInInvisibleSubframe() const; 716 bool isInInvisibleSubframe() const;
718 717
719 String title() const { return m_title; } 718 String title() const { return m_title; }
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1455 1454
1456 } // namespace blink 1455 } // namespace blink
1457 1456
1458 #ifndef NDEBUG 1457 #ifndef NDEBUG
1459 // Outside the WebCore namespace for ease of invocation from gdb. 1458 // Outside the WebCore namespace for ease of invocation from gdb.
1460 CORE_EXPORT void showLiveDocumentInstances(); 1459 CORE_EXPORT void showLiveDocumentInstances();
1461 #endif 1460 #endif
1462 1461
1463 #endif // Document_h 1462 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698