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

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

Issue 474143002: Rename some functions of which names contain 'WebCore.' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 "public/web/WebRemoteFrame.h" 8 #include "public/web/WebRemoteFrame.h"
9 #include "web/RemoteFrameClient.h" 9 #include "web/RemoteFrameClient.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 168 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
169 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; 169 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE;
170 virtual WebRect selectionBoundsRect() const OVERRIDE; 170 virtual WebRect selectionBoundsRect() const OVERRIDE;
171 171
172 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; 172 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE;
173 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ; 173 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ;
174 174
175 virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClien t*) OVERRIDE; 175 virtual WebLocalFrame* createLocalChild(const WebString& name, WebFrameClien t*) OVERRIDE;
176 virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebFrameCli ent*) OVERRIDE; 176 virtual WebRemoteFrame* createRemoteChild(const WebString& name, WebFrameCli ent*) OVERRIDE;
177 177
178 void initializeWebCoreFrame(FrameHost*, FrameOwner*, const AtomicString& nam e); 178 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name);
179 179
180 void setWebCoreFrame(PassRefPtr<RemoteFrame>); 180 void setCoreFrame(PassRefPtr<RemoteFrame>);
181 RemoteFrame* frame() const { return m_frame.get(); } 181 RemoteFrame* frame() const { return m_frame.get(); }
182 182
183 static WebRemoteFrameImpl* fromFrame(RemoteFrame&); 183 static WebRemoteFrameImpl* fromFrame(RemoteFrame&);
184 184
185 private: 185 private:
186 RemoteFrameClient m_frameClient; 186 RemoteFrameClient m_frameClient;
187 RefPtr<RemoteFrame> m_frame; 187 RefPtr<RemoteFrame> m_frame;
188 188
189 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren; 189 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren;
190 }; 190 };
191 191
192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
193 193
194 } // namespace blink 194 } // namespace blink
195 195
196 #endif // WebRemoteFrameImpl_h 196 #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