Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleaned up. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0; 156 virtual PassRefPtr<DocumentLoader> createDocumentLoader(const ResourceRe quest&, const SubstituteData&) = 0;
157 157
158 virtual String userAgent(const KURL&) = 0; 158 virtual String userAgent(const KURL&) = 0;
159 159
160 virtual String doNotTrackValue() = 0; 160 virtual String doNotTrackValue() = 0;
161 161
162 virtual void transitionToCommittedForNewPage() = 0; 162 virtual void transitionToCommittedForNewPage() = 0;
163 163
164 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0; 164 virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, c onst String& referrer, HTMLFrameOwnerElement*) = 0;
165 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElemen t*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bo ol loadManually) = 0; 165 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0;
166 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;
166 167
167 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAp pletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vecto r<String>& paramValues) = 0; 168 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAp pletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vecto r<String>& paramValues) = 0;
168 169
169 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0; 170 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0;
170 171
171 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0; 172 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) = 0;
172 virtual void documentElementAvailable() = 0; 173 virtual void documentElementAvailable() = 0;
173 174
174 virtual void didExhaustMemoryAvailableForScript() { }; 175 virtual void didExhaustMemoryAvailableForScript() { };
175 176
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 220 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
220 221
221 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() = 0; 222 virtual WebKit::WebServiceWorkerRegistry* serviceWorkerRegistry() = 0;
222 223
223 virtual void didStopAllLoaders() { } 224 virtual void didStopAllLoaders() { }
224 }; 225 };
225 226
226 } // namespace WebCore 227 } // namespace WebCore
227 228
228 #endif // FrameLoaderClient_h 229 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698