| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual void addStyleSheetByURL(const WebString& url) override; | 241 virtual void addStyleSheetByURL(const WebString& url) override; |
| 242 virtual void navigateToSandboxedMarkup(const WebData& markup) override; | 242 virtual void navigateToSandboxedMarkup(const WebData& markup) override; |
| 243 virtual void sendOrientationChangeEvent() override; | 243 virtual void sendOrientationChangeEvent() override; |
| 244 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS
tring>& platforms, WebAppBannerPromptReply*) override; | 244 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS
tring>& platforms, WebAppBannerPromptReply*) override; |
| 245 virtual void willShowInstallBannerPrompt(const WebVector<WebString>& platfor
ms, WebAppBannerPromptReply*) override; | 245 virtual void willShowInstallBannerPrompt(const WebVector<WebString>& platfor
ms, WebAppBannerPromptReply*) override; |
| 246 void requestRunTask(WebSuspendableTask*) const override; | 246 void requestRunTask(WebSuspendableTask*) const override; |
| 247 | 247 |
| 248 void willBeDetached(); | 248 void willBeDetached(); |
| 249 void willDetachParent(); | 249 void willDetachParent(); |
| 250 | 250 |
| 251 static WebLocalFrameImpl* create(WebFrameClient*); | 251 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*); |
| 252 virtual ~WebLocalFrameImpl(); | 252 virtual ~WebLocalFrameImpl(); |
| 253 | 253 |
| 254 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne
r*, const AtomicString& name, const AtomicString& fallbackName); | 254 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne
r*, const AtomicString& name, const AtomicString& fallbackName); |
| 255 | 255 |
| 256 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&,
const AtomicString& name, HTMLFrameOwnerElement*); | 256 PassRefPtrWillBeRawPtr<LocalFrame> createChildFrame(const FrameLoadRequest&,
const AtomicString& name, HTMLFrameOwnerElement*); |
| 257 | 257 |
| 258 void didChangeContentsSize(const IntSize&); | 258 void didChangeContentsSize(const IntSize&); |
| 259 | 259 |
| 260 void createFrameView(); | 260 void createFrameView(); |
| 261 | 261 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } | 333 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { m_webDevToolsF
rontend = frontend; } |
| 334 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} | 334 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend;
} |
| 335 | 335 |
| 336 #if ENABLE(OILPAN) | 336 #if ENABLE(OILPAN) |
| 337 DECLARE_TRACE(); | 337 DECLARE_TRACE(); |
| 338 #endif | 338 #endif |
| 339 | 339 |
| 340 private: | 340 private: |
| 341 friend class FrameLoaderClientImpl; | 341 friend class FrameLoaderClientImpl; |
| 342 | 342 |
| 343 explicit WebLocalFrameImpl(WebFrameClient*); | 343 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); |
| 344 | 344 |
| 345 // Sets the local core frame and registers destruction observers. | 345 // Sets the local core frame and registers destruction observers. |
| 346 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); | 346 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); |
| 347 | 347 |
| 348 void loadJavaScriptURL(const KURL&); | 348 void loadJavaScriptURL(const KURL&); |
| 349 | 349 |
| 350 WebPlugin* focusedPluginIfInputMethodSupported(); | 350 WebPlugin* focusedPluginIfInputMethodSupported(); |
| 351 | 351 |
| 352 FrameLoaderClientImpl m_frameLoaderClientImpl; | 352 FrameLoaderClientImpl m_frameLoaderClientImpl; |
| 353 | 353 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 GC_PLUGIN_IGNORE("340522") | 394 GC_PLUGIN_IGNORE("340522") |
| 395 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 395 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 396 #endif | 396 #endif |
| 397 }; | 397 }; |
| 398 | 398 |
| 399 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 399 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 400 | 400 |
| 401 } // namespace blink | 401 } // namespace blink |
| 402 | 402 |
| 403 #endif | 403 #endif |
| OLD | NEW |