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

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

Issue 1807033003: Rewrite how RemoteFrameOwners retain life. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 public: 68 public:
69 UpdateSuspendScope(); 69 UpdateSuspendScope();
70 ~UpdateSuspendScope(); 70 ~UpdateSuspendScope();
71 71
72 private: 72 private:
73 void performDeferredWidgetTreeOperations(); 73 void performDeferredWidgetTreeOperations();
74 }; 74 };
75 75
76 // FrameOwner overrides: 76 // FrameOwner overrides:
77 bool isLocal() const override { return true; } 77 bool isLocal() const override { return true; }
78 bool isRemote() const override { return false; }
78 void setContentFrame(Frame&) override; 79 void setContentFrame(Frame&) override;
79 void clearContentFrame() override; 80 void clearContentFrame() override;
80 void dispatchLoad() override; 81 void dispatchLoad() override;
81 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; } 82 SandboxFlags getSandboxFlags() const override { return m_sandboxFlags; }
82 void renderFallbackContent() override { } 83 void renderFallbackContent() override { }
83 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; } 84 ScrollbarMode scrollingMode() const override { return ScrollbarAuto; }
84 int marginWidth() const override { return -1; } 85 int marginWidth() const override { return -1; }
85 int marginHeight() const override { return -1; } 86 int marginHeight() const override { return -1; }
86 87
87 DECLARE_VIRTUAL_TRACE(); 88 DECLARE_VIRTUAL_TRACE();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 CORE_EXPORT static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disab ledSubtreeRoots(); 139 CORE_EXPORT static WillBeHeapHashCountedSet<RawPtrWillBeMember<Node>>& disab ledSubtreeRoots();
139 140
140 RawPtrWillBeMember<Node> m_root; 141 RawPtrWillBeMember<Node> m_root;
141 }; 142 };
142 143
143 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal()); 144 DEFINE_TYPE_CASTS(HTMLFrameOwnerElement, FrameOwner, owner, owner->isLocal(), ow ner.isLocal());
144 145
145 } // namespace blink 146 } // namespace blink
146 147
147 #endif // HTMLFrameOwnerElement_h 148 #endif // HTMLFrameOwnerElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698