OLD | NEW |
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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); | 351 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); |
352 | 352 |
353 // Sets the local core frame and registers destruction observers. | 353 // Sets the local core frame and registers destruction observers. |
354 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); | 354 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); |
355 | 355 |
356 void loadJavaScriptURL(const KURL&); | 356 void loadJavaScriptURL(const KURL&); |
357 | 357 |
358 WebPlugin* focusedPluginIfInputMethodSupported(); | 358 WebPlugin* focusedPluginIfInputMethodSupported(); |
359 ScrollableArea* layoutViewportScrollableArea() const; | 359 ScrollableArea* layoutViewportScrollableArea() const; |
360 | 360 |
361 FrameLoaderClientImpl m_frameLoaderClientImpl; | 361 OwnPtrWillBeMember<FrameLoaderClientImpl> m_frameLoaderClientImpl; |
362 | 362 |
363 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This | 363 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This |
364 // reference is released when the frame is removed from the DOM or the entir
e page is closed. | 364 // reference is released when the frame is removed from the DOM or the entir
e page is closed. |
365 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. | 365 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. |
366 RefPtrWillBeMember<LocalFrame> m_frame; | 366 RefPtrWillBeMember<LocalFrame> m_frame; |
367 | 367 |
368 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay; | 368 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay; |
369 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent; | 369 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent; |
370 | 370 |
371 // This is set if the frame is the root of a local frame tree, and requires
a widget for layout. | 371 // This is set if the frame is the root of a local frame tree, and requires
a widget for layout. |
(...skipping 29 matching lines...) Expand all Loading... |
401 // cleared upon close(). | 401 // cleared upon close(). |
402 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 402 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
403 #endif | 403 #endif |
404 }; | 404 }; |
405 | 405 |
406 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 406 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
407 | 407 |
408 } // namespace blink | 408 } // namespace blink |
409 | 409 |
410 #endif | 410 #endif |
OLD | NEW |