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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 443
444 // A reflected XSS was encountered in the page and suppressed. 444 // A reflected XSS was encountered in the page and suppressed.
445 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } 445 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { }
446 446
447 // A PingLoader was created, and a request dispatched to a URL. 447 // A PingLoader was created, and a request dispatched to a URL.
448 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } 448 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { }
449 449
450 // A performance timing event (e.g. first paint) occurred 450 // A performance timing event (e.g. first paint) occurred
451 virtual void didChangePerformanceTiming() { } 451 virtual void didChangePerformanceTiming() { }
452 452
453 // The loaders in this frame have been stopped.
454 virtual void didAbortLoading(WebLocalFrame*) { }
455
456 453
457 // Script notifications ------------------------------------------------ 454 // Script notifications ------------------------------------------------
458 455
459 // Notifies that a new script context has been created for this frame. 456 // Notifies that a new script context has been created for this frame.
460 // This is similar to didClearWindowObject but only called once per 457 // This is similar to didClearWindowObject but only called once per
461 // frame context. 458 // frame context.
462 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { } 459 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { }
463 460
464 // WebKit is about to release its reference to a v8 context for a frame. 461 // WebKit is about to release its reference to a v8 context for a frame.
465 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { } 462 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { }
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 // This method takes ownership of the callbacks pointer. 685 // This method takes ownership of the callbacks pointer.
689 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 686 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
690 687
691 protected: 688 protected:
692 virtual ~WebFrameClient() { } 689 virtual ~WebFrameClient() { }
693 }; 690 };
694 691
695 } // namespace blink 692 } // namespace blink
696 693
697 #endif 694 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698