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

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

Issue 22159002: Add 'didDispatchPingLoader' callback to FrameLoaderClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 virtual String doNotTrackValue() OVERRIDE { return String(); } 228 virtual String doNotTrackValue() OVERRIDE { return String(); }
229 229
230 virtual void transitionToCommittedForNewPage() OVERRIDE { } 230 virtual void transitionToCommittedForNewPage() OVERRIDE { }
231 231
232 virtual bool shouldGoToHistoryItem(HistoryItem*) const OVERRIDE { return fal se; } 232 virtual bool shouldGoToHistoryItem(HistoryItem*) const OVERRIDE { return fal se; }
233 virtual bool shouldStopLoadingForHistoryItem(HistoryItem*) const OVERRIDE { return false; } 233 virtual bool shouldStopLoadingForHistoryItem(HistoryItem*) const OVERRIDE { return false; }
234 virtual void didDisplayInsecureContent() OVERRIDE { } 234 virtual void didDisplayInsecureContent() OVERRIDE { }
235 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { } 235 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) OVERRIDE { }
236 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { } 236 virtual void didDetectXSS(const KURL&, bool) OVERRIDE { }
237 virtual void didDispatchPingLoader(const KURL&) OVERRIDE { }
237 virtual PassRefPtr<Frame> createFrame(const KURL&, const String&, HTMLFrameO wnerElement*, const String&, bool, int, int) OVERRIDE; 238 virtual PassRefPtr<Frame> createFrame(const KURL&, const String&, HTMLFrameO wnerElement*, const String&, bool, int, int) OVERRIDE;
238 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool) OVERRIDE; 239 virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool) OVERRIDE;
239 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLApplet Element*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE; 240 virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLApplet Element*, const KURL&, const Vector<String>&, const Vector<String>&) OVERRIDE;
240 241
241 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); } 242 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) OVERRIDE { return ObjectContentType(); }
242 243
243 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { } 244 virtual void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*) OVERRIDE { }
244 virtual void documentElementAvailable() OVERRIDE { } 245 virtual void documentElementAvailable() OVERRIDE { }
245 246
246 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { } 247 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr oup, int worldId) OVERRIDE { }
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 virtual int forwardListCount() OVERRIDE { return 0; } 368 virtual int forwardListCount() OVERRIDE { return 0; }
368 virtual bool isActive() OVERRIDE { return false; } 369 virtual bool isActive() OVERRIDE { return false; }
369 virtual void close() OVERRIDE { } 370 virtual void close() OVERRIDE { }
370 }; 371 };
371 372
372 void fillWithEmptyClients(Page::PageClients&); 373 void fillWithEmptyClients(Page::PageClients&);
373 374
374 } 375 }
375 376
376 #endif // EmptyClients_h 377 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js ('k') | Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698