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

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

Issue 710443002: Add didCreateNewDocument() notification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use didCreateNewDocument() instead Created 6 years, 1 month 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
« no previous file with comments | « no previous file | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual void didDispatchPingLoader(const KURL&) override { } 228 virtual void didDispatchPingLoader(const KURL&) override { }
229 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { } 229 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { }
230 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, HTMLFrameOwnerElement*) override; 230 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, HTMLFrameOwnerElement*) override;
231 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override; 231 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override;
232 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override; 232 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override;
233 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; } 233 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; }
234 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override; 234 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override;
235 235
236 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); } 236 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); }
237 237
238 virtual void didCreateNewDocument() override { }
238 virtual void dispatchDidClearWindowObjectInMainWorld() override { } 239 virtual void dispatchDidClearWindowObjectInMainWorld() override { }
239 virtual void documentElementAvailable() override { } 240 virtual void documentElementAvailable() override { }
240 241
241 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) override { } 242 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) override { }
242 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) override { } 243 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) override { }
243 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; } 244 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; }
244 245
245 virtual blink::WebCookieJar* cookieJar() const override { return 0; } 246 virtual blink::WebCookieJar* cookieJar() const override { return 0; }
246 247
247 virtual void didRequestAutocomplete(HTMLFormElement*) override; 248 virtual void didRequestAutocomplete(HTMLFormElement*) override;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 public: 338 public:
338 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e; 339 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e;
339 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; } 340 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; }
340 }; 341 };
341 342
342 void fillWithEmptyClients(Page::PageClients&); 343 void fillWithEmptyClients(Page::PageClients&);
343 344
344 } 345 }
345 346
346 #endif // EmptyClients_h 347 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698