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

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

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 years, 8 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/WebHelperPluginImpl.cpp ('k') | Source/web/WebLocalFrameImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 10 matching lines...) Expand all
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebFrameImpl_h 31 #ifndef WebLocalFrameImpl_h
32 #define WebFrameImpl_h 32 #define WebLocalFrameImpl_h
33
34 #include "WebLocalFrame.h"
35 33
36 #include "FrameLoaderClientImpl.h" 34 #include "FrameLoaderClientImpl.h"
37 #include "NotificationPresenterImpl.h" 35 #include "NotificationPresenterImpl.h"
36 #include "WebLocalFrame.h"
38 #include "core/frame/LocalFrame.h" 37 #include "core/frame/LocalFrame.h"
39 #include "platform/geometry/FloatRect.h" 38 #include "platform/geometry/FloatRect.h"
40 #include "public/platform/WebFileSystemType.h" 39 #include "public/platform/WebFileSystemType.h"
41 #include "wtf/Compiler.h" 40 #include "wtf/Compiler.h"
42 #include "wtf/HashSet.h" 41 #include "wtf/HashSet.h"
43 #include "wtf/OwnPtr.h" 42 #include "wtf/OwnPtr.h"
44 #include "wtf/RefCounted.h" 43 #include "wtf/RefCounted.h"
45 #include "wtf/text/WTFString.h" 44 #include "wtf/text/WTFString.h"
46 45
47 namespace WebCore { 46 namespace WebCore {
(...skipping 19 matching lines...) Expand all
67 class WebPerformance; 66 class WebPerformance;
68 class WebPlugin; 67 class WebPlugin;
69 class WebPluginContainerImpl; 68 class WebPluginContainerImpl;
70 class WebView; 69 class WebView;
71 class WebViewImpl; 70 class WebViewImpl;
72 struct WebPrintParams; 71 struct WebPrintParams;
73 72
74 template <typename T> class WebVector; 73 template <typename T> class WebVector;
75 74
76 // Implementation of WebFrame, note that this is a reference counted object. 75 // Implementation of WebFrame, note that this is a reference counted object.
77 class WebFrameImpl FINAL 76 class WebLocalFrameImpl FINAL
78 : public WebLocalFrame 77 : public WebLocalFrame
79 , public RefCounted<WebFrameImpl> { 78 , public RefCounted<WebLocalFrameImpl> {
80 public: 79 public:
81 // WebFrame methods: 80 // WebFrame methods:
82 virtual WebLocalFrame* toWebLocalFrame() OVERRIDE { return this; } 81 virtual bool isWebLocalFrame() const OVERRIDE;
82 virtual WebLocalFrame* toWebLocalFrame() OVERRIDE;
83 virtual bool isWebRemoteFrame() const OVERRIDE;
84 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE;
83 virtual void close() OVERRIDE; 85 virtual void close() OVERRIDE;
84 virtual WebString uniqueName() const OVERRIDE; 86 virtual WebString uniqueName() const OVERRIDE;
85 virtual WebString assignedName() const OVERRIDE; 87 virtual WebString assignedName() const OVERRIDE;
86 virtual void setName(const WebString&) OVERRIDE; 88 virtual void setName(const WebString&) OVERRIDE;
87 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; 89 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE;
88 virtual void setIsRemote(bool) OVERRIDE; 90 virtual void setIsRemote(bool) OVERRIDE;
89 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; 91 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE;
90 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; 92 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE;
91 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE; 93 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) OVERRIDE;
92 virtual WebSize scrollOffset() const OVERRIDE; 94 virtual WebSize scrollOffset() const OVERRIDE;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; 190 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE;
189 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; 191 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE;
190 virtual void setCaretVisible(bool) OVERRIDE; 192 virtual void setCaretVisible(bool) OVERRIDE;
191 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE; 193 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode ) OVERRIDE;
192 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; 194 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE;
193 virtual float getPrintPageShrink(int page) OVERRIDE; 195 virtual float getPrintPageShrink(int page) OVERRIDE;
194 virtual void printEnd() OVERRIDE; 196 virtual void printEnd() OVERRIDE;
195 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; 197 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE;
196 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; 198 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE;
197 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; 199 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE;
198 virtual void pageSizeAndMarginsInPixels(int pageIndex, 200 virtual void pageSizeAndMarginsInPixels(
199 WebSize& pageSize, 201 int pageIndex,
200 int& marginTop, 202 WebSize& pageSize,
201 int& marginRight, 203 int& marginTop,
202 int& marginBottom, 204 int& marginRight,
203 int& marginLeft) OVERRIDE; 205 int& marginBottom,
206 int& marginLeft) OVERRIDE;
204 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE; 207 virtual WebString pageProperty(const WebString& propertyName, int pageIndex) OVERRIDE;
205 virtual void printPagesWithBoundaries(WebCanvas*, const WebSize&) OVERRIDE; 208 virtual void printPagesWithBoundaries(WebCanvas*, const WebSize&) OVERRIDE;
206 virtual bool find( 209 virtual bool find(
207 int identifier, const WebString& searchText, const WebFindOptions&, 210 int identifier, const WebString& searchText, const WebFindOptions&,
208 bool wrapWithinFrame, WebRect* selectionRect) OVERRIDE; 211 bool wrapWithinFrame, WebRect* selectionRect) OVERRIDE;
209 virtual void stopFinding(bool clearSelection) OVERRIDE; 212 virtual void stopFinding(bool clearSelection) OVERRIDE;
210 virtual void scopeStringMatches( 213 virtual void scopeStringMatches(
211 int identifier, const WebString& searchText, const WebFindOptions&, 214 int identifier, const WebString& searchText, const WebFindOptions&,
212 bool reset) OVERRIDE; 215 bool reset) OVERRIDE;
213 virtual void cancelPendingScopingEffort() OVERRIDE; 216 virtual void cancelPendingScopingEffort() OVERRIDE;
(...skipping 15 matching lines...) Expand all
229 virtual WebString contentAsMarkup() const OVERRIDE; 232 virtual WebString contentAsMarkup() const OVERRIDE;
230 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 233 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
231 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; 234 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE;
232 virtual WebRect selectionBoundsRect() const OVERRIDE; 235 virtual WebRect selectionBoundsRect() const OVERRIDE;
233 236
234 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; 237 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE;
235 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ; 238 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ;
236 239
237 void willDetachParent(); 240 void willDetachParent();
238 241
239 static WebFrameImpl* create(WebFrameClient*); 242 static WebLocalFrameImpl* create(WebFrameClient*);
240 virtual ~WebFrameImpl(); 243 virtual ~WebLocalFrameImpl();
241 244
242 // Called by the WebViewImpl to initialize the main frame for the page. 245 // Called by the WebViewImpl to initialize the main frame for the page.
243 void initializeAsMainFrame(WebCore::Page*); 246 void initializeAsMainFrame(WebCore::Page*);
244 247
245 PassRefPtr<WebCore::LocalFrame> createChildFrame( 248 PassRefPtr<WebCore::LocalFrame> createChildFrame(
246 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); 249 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*);
247 250
248 void didChangeContentsSize(const WebCore::IntSize&); 251 void didChangeContentsSize(const WebCore::IntSize&);
249 252
250 void createFrameView(); 253 void createFrameView();
251 254
252 static WebFrameImpl* fromFrame(WebCore::LocalFrame* frame); 255 static WebLocalFrameImpl* fromFrame(WebCore::LocalFrame*);
253 static WebFrameImpl* fromFrameOwnerElement(WebCore::Element* element); 256 static WebLocalFrameImpl* fromFrameOwnerElement(WebCore::Element*);
254 257
255 // If the frame hosts a PluginDocument, this method returns the WebPluginCon tainerImpl 258 // If the frame hosts a PluginDocument, this method returns the WebPluginCon tainerImpl
256 // that hosts the plugin. 259 // that hosts the plugin.
257 static WebPluginContainerImpl* pluginContainerFromFrame(WebCore::LocalFrame* ); 260 static WebPluginContainerImpl* pluginContainerFromFrame(WebCore::LocalFrame* );
258 261
259 // If the frame hosts a PluginDocument, this method returns the WebPluginCon tainerImpl 262 // If the frame hosts a PluginDocument, this method returns the WebPluginCon tainerImpl
260 // that hosts the plugin. If the provided node is a plugin, then it runs its 263 // that hosts the plugin. If the provided node is a plugin, then it runs its
261 // WebPluginContainerImpl. 264 // WebPluginContainerImpl.
262 static WebPluginContainerImpl* pluginContainerFromNode(WebCore::LocalFrame*, const WebNode&); 265 static WebPluginContainerImpl* pluginContainerFromNode(WebCore::LocalFrame*, const WebNode&);
263 266
264 WebViewImpl* viewImpl() const; 267 WebViewImpl* viewImpl() const;
265 268
266 WebCore::FrameView* frameView() const { return frame() ? frame()->view() : 0 ; } 269 WebCore::FrameView* frameView() const { return frame() ? frame()->view() : 0 ; }
267 270
268 // Getters for the impls corresponding to Get(Provisional)DataSource. They 271 // Getters for the impls corresponding to Get(Provisional)DataSource. They
269 // may return 0 if there is no corresponding data source. 272 // may return 0 if there is no corresponding data source.
270 WebDataSourceImpl* dataSourceImpl() const; 273 WebDataSourceImpl* dataSourceImpl() const;
271 WebDataSourceImpl* provisionalDataSourceImpl() const; 274 WebDataSourceImpl* provisionalDataSourceImpl() const;
272 275
273 // Returns which frame has an active match. This function should only be 276 // Returns which frame has an active match. This function should only be
274 // called on the main frame, as it is the only frame keeping track. Returned 277 // called on the main frame, as it is the only frame keeping track. Returned
275 // value can be 0 if no frame has an active match. 278 // value can be 0 if no frame has an active match.
276 WebFrameImpl* activeMatchFrame() const; 279 WebLocalFrameImpl* activeMatchFrame() const;
277 280
278 // Returns the active match in the current frame. Could be a null range if 281 // Returns the active match in the current frame. Could be a null range if
279 // the local frame has no active match. 282 // the local frame has no active match.
280 WebCore::Range* activeMatch() const; 283 WebCore::Range* activeMatch() const;
281 284
282 // When a Find operation ends, we want to set the selection to what was acti ve 285 // When a Find operation ends, we want to set the selection to what was acti ve
283 // and set focus to the first focusable node we find (starting with the firs t 286 // and set focus to the first focusable node we find (starting with the firs t
284 // node in the matched range and going up the inheritance chain). If we find 287 // node in the matched range and going up the inheritance chain). If we find
285 // nothing to focus we focus the first focusable node in the range. This 288 // nothing to focus we focus the first focusable node in the range. This
286 // allows us to set focus to a link (when we find text inside a link), which 289 // allows us to set focus to a link (when we find text inside a link), which
287 // allows us to navigate by pressing Enter after closing the Find box. 290 // allows us to navigate by pressing Enter after closing the Find box.
288 void setFindEndstateFocusAndSelection(); 291 void setFindEndstateFocusAndSelection();
289 292
290 void didFail(const WebCore::ResourceError&, bool wasProvisional); 293 void didFail(const WebCore::ResourceError&, bool wasProvisional);
291 294
292 // Sets whether the WebFrameImpl allows its document to be scrolled. 295 // Sets whether the WebLocalFrameImpl allows its document to be scrolled.
293 // If the parameter is true, allow the document to be scrolled. 296 // If the parameter is true, allow the document to be scrolled.
294 // Otherwise, disallow scrolling. 297 // Otherwise, disallow scrolling.
295 virtual void setCanHaveScrollbars(bool) OVERRIDE; 298 virtual void setCanHaveScrollbars(bool) OVERRIDE;
296 299
297 WebCore::LocalFrame* frame() const { return m_frame.get(); } 300 WebCore::LocalFrame* frame() const { return m_frame.get(); }
298 WebFrameClient* client() const { return m_client; } 301 WebFrameClient* client() const { return m_client; }
299 void setClient(WebFrameClient* client) { m_client = client; } 302 void setClient(WebFrameClient* client) { m_client = client; }
300 303
301 WebPermissionClient* permissionClient() { return m_permissionClient; } 304 WebPermissionClient* permissionClient() { return m_permissionClient; }
302 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret urn m_sharedWorkerRepositoryClient.get(); } 305 SharedWorkerRepositoryClientImpl* sharedWorkerRepositoryClient() const { ret urn m_sharedWorkerRepositoryClient.get(); }
303 306
304 void setInputEventsTransformForEmulation(const WebCore::IntSize&, float); 307 void setInputEventsTransformForEmulation(const WebCore::IntSize&, float);
305 308
306 static void selectWordAroundPosition(WebCore::LocalFrame*, WebCore::VisibleP osition); 309 static void selectWordAroundPosition(WebCore::LocalFrame*, WebCore::VisibleP osition);
307 310
308 // Returns the text finder object if it already exists. 311 // Returns the text finder object if it already exists.
309 // Otherwise creates it and then returns. 312 // Otherwise creates it and then returns.
310 TextFinder& ensureTextFinder(); 313 TextFinder& ensureTextFinder();
311 314
312 // Invalidates vertical scrollbar only. 315 // Invalidates vertical scrollbar only.
313 void invalidateScrollbar() const; 316 void invalidateScrollbar() const;
314 317
315 // Invalidates both content area and the scrollbar. 318 // Invalidates both content area and the scrollbar.
316 void invalidateAll() const; 319 void invalidateAll() const;
317 320
318 private: 321 private:
319 friend class FrameLoaderClientImpl; 322 friend class FrameLoaderClientImpl;
320 323
321 explicit WebFrameImpl(WebFrameClient*); 324 explicit WebLocalFrameImpl(WebFrameClient*);
322 325
323 // Sets the local WebCore frame and registers destruction observers. 326 // Sets the local WebCore frame and registers destruction observers.
324 void setWebCoreFrame(PassRefPtr<WebCore::LocalFrame>); 327 void setWebCoreFrame(PassRefPtr<WebCore::LocalFrame>);
325 328
326 void loadJavaScriptURL(const WebCore::KURL&); 329 void loadJavaScriptURL(const WebCore::KURL&);
327 330
328 // Returns a hit-tested VisiblePosition for the given point 331 // Returns a hit-tested VisiblePosition for the given point
329 WebCore::VisiblePosition visiblePositionForWindowPoint(const WebPoint&); 332 WebCore::VisiblePosition visiblePositionForWindowPoint(const WebPoint&);
330 333
331 WebPlugin* focusedPluginIfInputMethodSupported(); 334 WebPlugin* focusedPluginIfInputMethodSupported();
332 335
333 // Returns the provider of desktop notifications. 336 // Returns the provider of desktop notifications.
334 NotificationPresenterImpl* notificationPresenterImpl(); 337 NotificationPresenterImpl* notificationPresenterImpl();
335 338
336 FrameLoaderClientImpl m_frameLoaderClientImpl; 339 FrameLoaderClientImpl m_frameLoaderClientImpl;
337 340
338 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This 341 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This
339 // reference is released when the frame is removed from the DOM or the entir e page is closed. 342 // reference is released when the frame is removed from the DOM or the entir e page is closed.
340 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy. 343 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy.
341 RefPtr<WebCore::LocalFrame> m_frame; 344 RefPtr<WebCore::LocalFrame> m_frame;
342 WebFrameImpl* m_parent; 345 WebLocalFrameImpl* m_parent;
343 WebFrameImpl* m_previousSibling; 346 WebLocalFrameImpl* m_previousSibling;
344 WebFrameImpl* m_nextSibling; 347 WebLocalFrameImpl* m_nextSibling;
345 WebFrameImpl* m_firstChild; 348 WebLocalFrameImpl* m_firstChild;
346 WebFrameImpl* m_lastChild; 349 WebLocalFrameImpl* m_lastChild;
347 350
348 WebFrameImpl* m_opener; 351 WebLocalFrameImpl* m_opener;
349 WTF::HashSet<WebFrameImpl*> m_openedFrames; 352 WTF::HashSet<WebLocalFrameImpl*> m_openedFrames;
350 353
351 // Indicate whether the current LocalFrame is local or remote. Remote frames are 354 // Indicate whether the current LocalFrame is local or remote. Remote frames are
352 // rendered in a different process from their parent frames. 355 // rendered in a different process from their parent frames.
353 bool m_isRemote; 356 bool m_isRemote;
354 357
355 WebFrameClient* m_client; 358 WebFrameClient* m_client;
356 WebPermissionClient* m_permissionClient; 359 WebPermissionClient* m_permissionClient;
357 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; 360 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient;
358 361
359 // Will be initialized after first call to find() or scopeStringMatches(). 362 // Will be initialized after first call to find() or scopeStringMatches().
360 OwnPtr<TextFinder> m_textFinder; 363 OwnPtr<TextFinder> m_textFinder;
361 364
362 // Valid between calls to BeginPrint() and EndPrint(). Containts the print 365 // Valid between calls to BeginPrint() and EndPrint(). Containts the print
363 // information. Is used by PrintPage(). 366 // information. Is used by PrintPage().
364 OwnPtr<ChromePrintContext> m_printContext; 367 OwnPtr<ChromePrintContext> m_printContext;
365 368
366 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 369 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
367 WebCore::IntSize m_inputEventsOffsetForEmulation; 370 WebCore::IntSize m_inputEventsOffsetForEmulation;
368 float m_inputEventsScaleFactorForEmulation; 371 float m_inputEventsScaleFactorForEmulation;
369 372
370 // The provider of desktop notifications; 373 // The provider of desktop notifications;
371 NotificationPresenterImpl m_notificationPresenter; 374 NotificationPresenterImpl m_notificationPresenter;
372 }; 375 };
373 376
374 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); 377 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
375 378
376 } // namespace blink 379 } // namespace blink
377 380
378 #endif 381 #endif
OLDNEW
« no previous file with comments | « Source/web/WebHelperPluginImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698