| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 friend class FrameLoaderClientImpl; | 350 friend class FrameLoaderClientImpl; |
| 351 | 351 |
| 352 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); | 352 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); |
| 353 | 353 |
| 354 // Sets the local core frame and registers destruction observers. | 354 // Sets the local core frame and registers destruction observers. |
| 355 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); | 355 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); |
| 356 | 356 |
| 357 void loadJavaScriptURL(const KURL&); | 357 void loadJavaScriptURL(const KURL&); |
| 358 | 358 |
| 359 WebPlugin* focusedPluginIfInputMethodSupported(); | 359 WebPlugin* focusedPluginIfInputMethodSupported(); |
| 360 ScrollableArea* layoutViewportScrollableArea() const; |
| 360 | 361 |
| 361 FrameLoaderClientImpl m_frameLoaderClientImpl; | 362 FrameLoaderClientImpl m_frameLoaderClientImpl; |
| 362 | 363 |
| 363 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This | 364 // 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. | 365 // 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. | 366 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. |
| 366 RefPtrWillBeMember<LocalFrame> m_frame; | 367 RefPtrWillBeMember<LocalFrame> m_frame; |
| 367 | 368 |
| 368 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay; | 369 OwnPtrWillBeMember<InspectorOverlay> m_inspectorOverlay; |
| 369 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent; | 370 OwnPtrWillBeMember<WebDevToolsAgentImpl> m_devToolsAgent; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 GC_PLUGIN_IGNORE("340522") | 406 GC_PLUGIN_IGNORE("340522") |
| 406 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 407 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 407 #endif | 408 #endif |
| 408 }; | 409 }; |
| 409 | 410 |
| 410 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 411 | 412 |
| 412 } // namespace blink | 413 } // namespace blink |
| 413 | 414 |
| 414 #endif | 415 #endif |
| OLD | NEW |