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

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

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ~Scrollbar assert 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 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 220
221 virtual void transitionToCommittedForNewPage() OVERRIDE { } 221 virtual void transitionToCommittedForNewPage() OVERRIDE { }
222 222
223 virtual bool navigateBackForward(int offset) const OVERRIDE { return false; } 223 virtual bool navigateBackForward(int offset) const OVERRIDE { return false; }
224 virtual void didDisplayInsecureContent() OVERRIDE { } 224 virtual void didDisplayInsecureContent() OVERRIDE { }
225 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { } 225 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { }
226 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { } 226 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { }
227 virtual void didDispatchPingLoader(const KURL&) OVERRIDE { } 227 virtual void didDispatchPingLoader(const KURL&) OVERRIDE { }
228 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) OVERRIDE { } 228 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) OVERRIDE { }
229 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE; 229 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE;
230 virtual PassRefPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, con st Vector<String>&, const Vector<String>&, const String&, bool, DetachedPluginPo licy) OVERRIDE; 230 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) OVERRIDE;
231 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const OV ERRIDE { return false; } 231 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const OV ERRIDE { return false; }
232 virtual PassRefPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE; 232 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE;
233 233
234 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); } 234 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); }
235 235
236 virtual void dispatchDidClearWindowObjectInMainWorld() OVERRIDE { } 236 virtual void dispatchDidClearWindowObjectInMainWorld() OVERRIDE { }
237 virtual void documentElementAvailable() OVERRIDE { } 237 virtual void documentElementAvailable() OVERRIDE { }
238 238
239 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { } 239 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { }
240 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { } 240 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { }
241 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; } 241 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) OVERRIDE { return false; }
242 242
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 public: 334 public:
335 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E; 335 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() OVERRID E;
336 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; } 336 virtual bool canAccessStorage(LocalFrame*, StorageType) const OVERRIDE { ret urn false; }
337 }; 337 };
338 338
339 void fillWithEmptyClients(Page::PageClients&); 339 void fillWithEmptyClients(Page::PageClients&);
340 340
341 } 341 }
342 342
343 #endif // EmptyClients_h 343 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698