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

Side by Side Diff: Source/core/html/HTMLFrameOwnerElement.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLFrameOwnerElement.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) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 private: 76 private:
77 void performDeferredWidgetTreeOperations(); 77 void performDeferredWidgetTreeOperations();
78 }; 78 };
79 79
80 // FrameOwner overrides: 80 // FrameOwner overrides:
81 virtual bool isLocal() const { return true; } 81 virtual bool isLocal() const { return true; }
82 virtual void dispatchLoad() override; 82 virtual void dispatchLoad() override;
83 virtual SandboxFlags sandboxFlags() const override { return m_sandboxFlags; } 83 virtual SandboxFlags sandboxFlags() const override { return m_sandboxFlags; }
84 84
85 virtual void trace(Visitor*) override; 85 DECLARE_VIRTUAL_TRACE();
86 86
87 protected: 87 protected:
88 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); 88 HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
89 void setSandboxFlags(SandboxFlags); 89 void setSandboxFlags(SandboxFlags);
90 90
91 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool lockBackForwardList, ContentSecurityPolicyDisposition shouldCheckContentSecurit yPolicy); 91 bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool lockBackForwardList, ContentSecurityPolicyDisposition shouldCheckContentSecurit yPolicy);
92 92
93 private: 93 private:
94 virtual bool isKeyboardFocusable() const override; 94 virtual bool isKeyboardFocusable() const override;
95 virtual bool isFrameOwnerElement() const override final { return true; } 95 virtual bool isFrameOwnerElement() const override final { return true; }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo ots(); 130 static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disabledSubtreeRo ots();
131 131
132 RawPtrWillBeMember<Node> m_root; 132 RawPtrWillBeMember<Node> m_root;
133 }; 133 };
134 134
135 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal()); 135 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal());
136 136
137 } // namespace blink 137 } // namespace blink
138 138
139 #endif // HTMLFrameOwnerElement_h 139 #endif // HTMLFrameOwnerElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFormElement.cpp ('k') | Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698