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

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

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase upto and resolve r182737 conflict. Created 6 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 virtual void transitionToCommittedForNewPage() = 0; 144 virtual void transitionToCommittedForNewPage() = 0;
145 145
146 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons t AtomicString& name, const Referrer&, HTMLFrameOwnerElement*) = 0; 146 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons t AtomicString& name, const Referrer&, HTMLFrameOwnerElement*) = 0;
147 // Whether or not plugin creation should fail if the HTMLPlugInElement i sn't in the DOM after plugin initialization. 147 // Whether or not plugin creation should fail if the HTMLPlugInElement i sn't in the DOM after plugin initialization.
148 enum DetachedPluginPolicy { 148 enum DetachedPluginPolicy {
149 FailOnDetachedPlugin, 149 FailOnDetachedPlugin,
150 AllowDetachedPlugin, 150 AllowDetachedPlugin,
151 }; 151 };
152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0; 152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0;
153 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadManually, DetachedPluginPolicy) = 0; 153 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool l oadManually, DetachedPluginPolicy) = 0;
154 154
155 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param Values) = 0; 155 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLApplet Element*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<St ring>& paramValues) = 0;
156 156
157 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0; 157 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0;
158 158
159 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 159 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
160 virtual void documentElementAvailable() = 0; 160 virtual void documentElementAvailable() = 0;
161 161
162 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; 162 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0;
163 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; 163 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0;
164 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0; 164 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0;
165 165
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual void didStopAllLoaders() { } 216 virtual void didStopAllLoaders() { }
217 217
218 virtual void dispatchDidChangeManifest() { } 218 virtual void dispatchDidChangeManifest() { }
219 219
220 virtual bool isFrameLoaderClientImpl() const { return false; } 220 virtual bool isFrameLoaderClientImpl() const { return false; }
221 }; 221 };
222 222
223 } // namespace blink 223 } // namespace blink
224 224
225 #endif // FrameLoaderClient_h 225 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698