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

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

Issue 146693005: Clarify when what notifications are send when a window object is cleared (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 6 years, 7 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 FailOnDetachedPlugin, 165 FailOnDetachedPlugin,
166 AllowDetachedPlugin, 166 AllowDetachedPlugin,
167 }; 167 };
168 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0; 168 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0;
169 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadManually, DetachedPluginPolicy) = 0; 169 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadManually, DetachedPluginPolicy) = 0;
170 170
171 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param Values) = 0; 171 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& param Values) = 0;
172 172
173 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0; 173 virtual ObjectContentType objectContentType(const KURL&, const String& m imeType, bool shouldPreferPlugInsForImages) = 0;
174 174
175 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&) = 0; 175 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
176 virtual void documentElementAvailable() = 0; 176 virtual void documentElementAvailable() = 0;
177 177
178 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0; 178 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensi onGroup, int worldId) = 0;
179 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0; 179 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int world Id) = 0;
180 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0; 180 virtual bool allowScriptExtension(const String& extensionName, int exten sionGroup, int worldId) = 0;
181 181
182 virtual void didChangeScrollOffset() { } 182 virtual void didChangeScrollOffset() { }
183 virtual void didUpdateCurrentHistoryItem() { } 183 virtual void didUpdateCurrentHistoryItem() { }
184 184
185 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet tings; } 185 virtual bool allowScript(bool enabledPerSettings) { return enabledPerSet tings; }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 228 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
229 229
230 virtual void didStopAllLoaders() { } 230 virtual void didStopAllLoaders() { }
231 231
232 virtual bool isFrameLoaderClientImpl() const { return false; } 232 virtual bool isFrameLoaderClientImpl() const { return false; }
233 }; 233 };
234 234
235 } // namespace WebCore 235 } // namespace WebCore
236 236
237 #endif // FrameLoaderClient_h 237 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698