| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) override; | 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R
esourceRequest&, const SubstituteData&) override; |
| 116 virtual WTF::String userAgent(const KURL&) override; | 116 virtual WTF::String userAgent(const KURL&) override; |
| 117 virtual WTF::String doNotTrackValue() override; | 117 virtual WTF::String doNotTrackValue() override; |
| 118 virtual void transitionToCommittedForNewPage() override; | 118 virtual void transitionToCommittedForNewPage() override; |
| 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT
F::AtomicString& name, HTMLFrameOwnerElement*) override; | 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT
F::AtomicString& name, HTMLFrameOwnerElement*) override; |
| 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; | 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; |
| 121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( | 121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( |
| 122 Document&, const KURL&, | 122 Document&, const KURL&, |
| 123 const Vector<String>& paramNames, const Vector<String>& paramValues, | 123 const Vector<String>& paramNames, const Vector<String>& paramValues, |
| 124 const String& mimeType, bool loadManually) override; | 124 const String& mimeType, bool loadManually) override; |
| 125 virtual PassRefPtr<Widget> createPlugin( | 125 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( |
| 126 HTMLPlugInElement*, const KURL&, | 126 HTMLPlugInElement*, const KURL&, |
| 127 const Vector<WTF::String>&, const Vector<WTF::String>&, | 127 const Vector<WTF::String>&, const Vector<WTF::String>&, |
| 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; | 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; |
| 129 virtual PassRefPtr<Widget> createJavaAppletWidget( | 129 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( |
| 130 HTMLAppletElement*, | 130 HTMLAppletElement*, |
| 131 const KURL& /* base_url */, | 131 const KURL& /* base_url */, |
| 132 const Vector<WTF::String>& paramNames, | 132 const Vector<WTF::String>& paramNames, |
| 133 const Vector<WTF::String>& paramValues) override; | 133 const Vector<WTF::String>& paramValues) override; |
| 134 virtual ObjectContentType objectContentType( | 134 virtual ObjectContentType objectContentType( |
| 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; | 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma
ges) override; |
| 136 virtual void didChangeScrollOffset() override; | 136 virtual void didChangeScrollOffset() override; |
| 137 virtual void didUpdateCurrentHistoryItem() override; | 137 virtual void didUpdateCurrentHistoryItem() override; |
| 138 virtual void didRemoveAllPendingStylesheet() override; | 138 virtual void didRemoveAllPendingStylesheet() override; |
| 139 virtual bool allowScript(bool enabledPerSettings) override; | 139 virtual bool allowScript(bool enabledPerSettings) override; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 // The WebFrame that owns this object and manages its lifetime. Therefore, | 180 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 181 // the web frame object is guaranteed to exist. | 181 // the web frame object is guaranteed to exist. |
| 182 WebLocalFrameImpl* m_webFrame; | 182 WebLocalFrameImpl* m_webFrame; |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 186 | 186 |
| 187 } // namespace blink | 187 } // namespace blink |
| 188 | 188 |
| 189 #endif | 189 #endif |
| OLD | NEW |