| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 | 161 |
| 162 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; | 162 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe
quest&, const SubstituteData&) = 0; |
| 163 | 163 |
| 164 virtual String userAgent(const KURL&) = 0; | 164 virtual String userAgent(const KURL&) = 0; |
| 165 | 165 |
| 166 virtual String doNotTrackValue() = 0; | 166 virtual String doNotTrackValue() = 0; |
| 167 | 167 |
| 168 virtual void transitionToCommittedForNewPage() = 0; | 168 virtual void transitionToCommittedForNewPage() = 0; |
| 169 | 169 |
| 170 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c
onst String& referrer, HTMLFrameOwnerElement*) = 0; | 170 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c
onst String& referrer, HTMLFrameOwnerElement*) = 0; |
| 171 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen
t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo
ol loadManually) = 0; | 171 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons
t = 0; |
| 172 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen
t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo
ol loadManually, bool loadWithoutRenderer = false) = 0; |
| 172 | 173 |
| 173 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAp
pletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vecto
r<String>& paramValues) = 0; | 174 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAp
pletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vecto
r<String>& paramValues) = 0; |
| 174 | 175 |
| 175 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; | 176 virtual ObjectContentType objectContentType(const KURL&, const String& m
imeType, bool shouldPreferPlugInsForImages) = 0; |
| 176 | 177 |
| 177 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; | 178 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; |
| 178 virtual void documentElementAvailable() = 0; | 179 virtual void documentElementAvailable() = 0; |
| 179 | 180 |
| 180 virtual void didExhaustMemoryAvailableForScript() { }; | 181 virtual void didExhaustMemoryAvailableForScript() { }; |
| 181 | 182 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP
rovider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) = 0; | 231 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP
rovider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) = 0; |
| 231 | 232 |
| 232 virtual void didStopAllLoaders() { } | 233 virtual void didStopAllLoaders() { } |
| 233 | 234 |
| 234 virtual bool isFrameLoaderClientImpl() const { return false; } | 235 virtual bool isFrameLoaderClientImpl() const { return false; } |
| 235 }; | 236 }; |
| 236 | 237 |
| 237 } // namespace WebCore | 238 } // namespace WebCore |
| 238 | 239 |
| 239 #endif // FrameLoaderClient_h | 240 #endif // FrameLoaderClient_h |
| OLD | NEW |