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

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

Issue 218813002: Revert 170357 "Revert of Make DOMWrapperWorld::current() return ..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 8 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
« no previous file with comments | « trunk/Source/core/events/EventListener.h ('k') | trunk/Source/core/loader/FrameLoader.h » ('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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { } 231 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { }
232 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { } 232 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { }
233 virtual void didDispatchPingLoader(const KURL&) OVERRIDE { } 233 virtual void didDispatchPingLoader(const KURL&) OVERRIDE { }
234 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) OVERRIDE { } 234 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) OVERRIDE { }
235 virtual PassRefPtr<LocalFrame> createFrame(const KURL&, const AtomicString&, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE; 235 virtual PassRefPtr<LocalFrame> createFrame(const KURL&, const AtomicString&, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE;
236 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, con st Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginPo licy) OVERRIDE; 236 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, con st Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginPo licy) OVERRIDE;
237 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE; 237 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE;
238 238
239 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); } 239 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); }
240 240
241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { } 241 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&) OVERRIDE { }
242 virtual void documentElementAvailable() OVERRIDE { } 242 virtual void documentElementAvailable() OVERRIDE { }
243 243
244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { } 244 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { }
245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { } 245 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { }
246 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; } 246 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; }
247 247
248 virtual blink::WebCookieJar* cookieJar() const OVERRIDE { return 0; } 248 virtual blink::WebCookieJar* cookieJar() const OVERRIDE { return 0; }
249 249
250 virtual void didRequestAutocomplete(HTMLFormElement*) OVERRIDE; 250 virtual void didRequestAutocomplete(HTMLFormElement*) OVERRIDE;
251 251
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 public: 337 public:
338 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 338 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
339 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 339 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
340 }; 340 };
341 341
342 void fillWithEmptyClients(Page::PageClients&); 342 void fillWithEmptyClients(Page::PageClients&);
343 343
344 } 344 }
345 345
346 #endif // EmptyClients_h 346 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « trunk/Source/core/events/EventListener.h ('k') | trunk/Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698