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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.h

Issue 1635873003: Replicating WebFrame::uniqueName across renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dump-render-tree3
Patch Set: Removed unnecessary crbug comment. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "core/frame/FrameOwner.h" 8 #include "core/frame/FrameOwner.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "public/web/WebRemoteFrame.h" 10 #include "public/web/WebRemoteFrame.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal) const override; 161 WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTextNormal) const override;
162 WebString markerTextForListItem(const WebElement&) const override; 162 WebString markerTextForListItem(const WebElement&) const override;
163 WebRect selectionBoundsRect() const override; 163 WebRect selectionBoundsRect() const override;
164 164
165 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ; 165 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ;
166 WebString layerTreeAsText(bool showDebugInfo = false) const override; 166 WebString layerTreeAsText(bool showDebugInfo = false) const override;
167 167
168 WebFrameImplBase* toImplBase() { return this; } 168 WebFrameImplBase* toImplBase() { return this; }
169 169
170 // WebFrameImplBase methods: 170 // WebFrameImplBase methods:
171 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& fallbackName) override; 171 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& fallbackName, const AtomicString& uniqueName) override;
172 RemoteFrame* frame() const override { return m_frame.get(); } 172 RemoteFrame* frame() const override { return m_frame.get(); }
173 173
174 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>); 174 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>);
175 175
176 WebRemoteFrameClient* client() const { return m_client; } 176 WebRemoteFrameClient* client() const { return m_client; }
177 177
178 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); 178 static WebRemoteFrameImpl* fromFrame(RemoteFrame&);
179 179
180 // WebRemoteFrame methods: 180 // WebRemoteFrame methods:
181 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, Web SandboxFlags, WebFrameClient*, WebFrame* previousSibling, const WebFrameOwnerPro perties&) override; 181 WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& name, con st WebString& uniqueName, WebSandboxFlags, WebFrameClient*, WebFrame* previousSi bling, const WebFrameOwnerProperties&) override;
182 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, W ebSandboxFlags, WebRemoteFrameClient*) override; 182 WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, c onst WebString& uniqueName, WebSandboxFlags, WebRemoteFrameClient*) override;
183 183
184 void initializeFromFrame(WebLocalFrame*) const override; 184 void initializeFromFrame(WebLocalFrame*) const override;
185 185
186 void setReplicatedOrigin(const WebSecurityOrigin&) const override; 186 void setReplicatedOrigin(const WebSecurityOrigin&) const override;
187 void setReplicatedSandboxFlags(WebSandboxFlags) const override; 187 void setReplicatedSandboxFlags(WebSandboxFlags) const override;
188 void setReplicatedName(const WebString&) const override; 188 void setReplicatedName(const WebString& name, const WebString& uniqueName) c onst override;
189 void setReplicatedShouldEnforceStrictMixedContentChecking(bool) const overri de; 189 void setReplicatedShouldEnforceStrictMixedContentChecking(bool) const overri de;
190 void DispatchLoadEventForFrameOwner() const override; 190 void DispatchLoadEventForFrameOwner() const override;
191 191
192 void didStartLoading() override; 192 void didStartLoading() override;
193 void didStopLoading() override; 193 void didStopLoading() override;
194 194
195 bool isIgnoredForHitTest() const override; 195 bool isIgnoredForHitTest() const override;
196 196
197 #if ENABLE(OILPAN) 197 #if ENABLE(OILPAN)
198 DECLARE_TRACE(); 198 DECLARE_TRACE();
(...skipping 14 matching lines...) Expand all
213 // cleared upon close(). 213 // cleared upon close().
214 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive; 214 SelfKeepAlive<WebRemoteFrameImpl> m_selfKeepAlive;
215 #endif 215 #endif
216 }; 216 };
217 217
218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
219 219
220 } // namespace blink 220 } // namespace blink
221 221
222 #endif // WebRemoteFrameImpl_h 222 #endif // WebRemoteFrameImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698