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

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

Issue 1157563004: Revert of Update Blink to use the tree scope info on WebFrame for scoping checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.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 // 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 "platform/heap/Handle.h" 9 #include "platform/heap/Handle.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 161
162 virtual WebString contentAsText(size_t maxChars) const override; 162 virtual WebString contentAsText(size_t maxChars) const override;
163 virtual WebString contentAsMarkup() const override; 163 virtual WebString contentAsMarkup() const override;
164 virtual WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTex tNormal) const override; 164 virtual WebString layoutTreeAsText(LayoutAsTextControls toShow = LayoutAsTex tNormal) const override;
165 virtual WebString markerTextForListItem(const WebElement&) const override; 165 virtual WebString markerTextForListItem(const WebElement&) const override;
166 virtual WebRect selectionBoundsRect() const override; 166 virtual WebRect selectionBoundsRect() const override;
167 167
168 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const override; 168 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const override;
169 virtual WebString layerTreeAsText(bool showDebugInfo = false) const override ; 169 virtual WebString layerTreeAsText(bool showDebugInfo = false) const override ;
170 170
171 virtual WebLocalFrame* createLocalChild(const WebString& name, WebSandboxFla gs, WebFrameClient*, WebFrame* previousSibling) override;
171 virtual WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& n ame, WebSandboxFlags, WebFrameClient*, WebFrame* previousSibling) override; 172 virtual WebLocalFrame* createLocalChild(WebTreeScopeType, const WebString& n ame, WebSandboxFlags, WebFrameClient*, WebFrame* previousSibling) override;
173 virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebSandboxF lags, WebRemoteFrameClient*) override;
172 virtual WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, WebSandboxFlags, WebRemoteFrameClient*) override; 174 virtual WebRemoteFrame* createRemoteChild(WebTreeScopeType, const WebString& name, WebSandboxFlags, WebRemoteFrameClient*) override;
173 175
174 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name); 176 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name);
175 177
176 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>); 178 void setCoreFrame(PassRefPtrWillBeRawPtr<RemoteFrame>);
177 RemoteFrame* frame() const { return m_frame.get(); } 179 RemoteFrame* frame() const { return m_frame.get(); }
178 180
179 WebRemoteFrameClient* client() const { return m_client; } 181 WebRemoteFrameClient* client() const { return m_client; }
180 182
181 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); 183 static WebRemoteFrameImpl* fromFrame(RemoteFrame&);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 GC_PLUGIN_IGNORE("340522") 215 GC_PLUGIN_IGNORE("340522")
214 Persistent<WebRemoteFrameImpl> m_selfKeepAlive; 216 Persistent<WebRemoteFrameImpl> m_selfKeepAlive;
215 #endif 217 #endif
216 }; 218 };
217 219
218 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 220 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
219 221
220 } // namespace blink 222 } // namespace blink
221 223
222 #endif // WebRemoteFrameImpl_h 224 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698