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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Fix navigation transition type. Created 3 years, 7 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) 2000 Simon Hausmann <hausmann@kde.org> 4 * (C) 2000 Simon Hausmann <hausmann@kde.org>
5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ~HTMLIFrameElement() override; 46 ~HTMLIFrameElement() override;
47 DOMTokenList* sandbox() const; 47 DOMTokenList* sandbox() const;
48 DOMTokenList* allow() const; 48 DOMTokenList* allow() const;
49 49
50 void SandboxValueWasSet(); 50 void SandboxValueWasSet();
51 void AllowValueWasSet(); 51 void AllowValueWasSet();
52 52
53 private: 53 private:
54 explicit HTMLIFrameElement(Document&); 54 explicit HTMLIFrameElement(Document&);
55 55
56 void SetCollapsed(bool) override;
57
56 void ParseAttribute(const AttributeModificationParams&) override; 58 void ParseAttribute(const AttributeModificationParams&) override;
57 bool IsPresentationAttribute(const QualifiedName&) const override; 59 bool IsPresentationAttribute(const QualifiedName&) const override;
58 void CollectStyleForPresentationAttribute(const QualifiedName&, 60 void CollectStyleForPresentationAttribute(const QualifiedName&,
59 const AtomicString&, 61 const AtomicString&,
60 MutableStylePropertySet*) override; 62 MutableStylePropertySet*) override;
61 63
62 InsertionNotificationRequest InsertedInto(ContainerNode*) override; 64 InsertionNotificationRequest InsertedInto(ContainerNode*) override;
63 void RemovedFrom(ContainerNode*) override; 65 void RemovedFrom(ContainerNode*) override;
64 66
65 bool LayoutObjectIsNeeded(const ComputedStyle&) override; 67 bool LayoutObjectIsNeeded(const ComputedStyle&) override;
(...skipping 15 matching lines...) Expand all
81 AtomicString Csp() const override { return csp_; } 83 AtomicString Csp() const override { return csp_; }
82 const WebVector<WebFeaturePolicyFeature>& AllowedFeatures() const override { 84 const WebVector<WebFeaturePolicyFeature>& AllowedFeatures() const override {
83 return allowed_features_; 85 return allowed_features_;
84 } 86 }
85 87
86 AtomicString name_; 88 AtomicString name_;
87 AtomicString csp_; 89 AtomicString csp_;
88 bool did_load_non_empty_document_; 90 bool did_load_non_empty_document_;
89 bool allow_fullscreen_; 91 bool allow_fullscreen_;
90 bool allow_payment_request_; 92 bool allow_payment_request_;
93 bool collapsed_by_client_;
91 Member<HTMLIFrameElementSandbox> sandbox_; 94 Member<HTMLIFrameElementSandbox> sandbox_;
92 Member<HTMLIFrameElementAllow> allow_; 95 Member<HTMLIFrameElementAllow> allow_;
93 96
94 WebVector<WebFeaturePolicyFeature> allowed_features_; 97 WebVector<WebFeaturePolicyFeature> allowed_features_;
95 98
96 ReferrerPolicy referrer_policy_; 99 ReferrerPolicy referrer_policy_;
97 }; 100 };
98 101
99 } // namespace blink 102 } // namespace blink
100 103
101 #endif // HTMLIFrameElement_h 104 #endif // HTMLIFrameElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h ('k') | third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698