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

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 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
« no previous file with comments | « third_party/WebKit/Source/web/web.gypi ('k') | third_party/WebKit/public/web/WebPlugin.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) 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // This frame has displayed inactive content (such as an image) from 453 // This frame has displayed inactive content (such as an image) from
454 // a connection with certificate errors. 454 // a connection with certificate errors.
455 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main ResourceSecurityInfo) {} 455 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main ResourceSecurityInfo) {}
456 // This frame has run active content (such as a script) from a 456 // This frame has run active content (such as a script) from a
457 // connection with certificate errors. 457 // connection with certificate errors.
458 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso urceSecurityInfo) {} 458 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso urceSecurityInfo) {}
459 459
460 // A performance timing event (e.g. first paint) occurred 460 // A performance timing event (e.g. first paint) occurred
461 virtual void didChangePerformanceTiming() { } 461 virtual void didChangePerformanceTiming() { }
462 462
463 // The loaders in this frame have been stopped.
464 virtual void didAbortLoading(WebLocalFrame*) { }
465
466 463
467 // Script notifications ------------------------------------------------ 464 // Script notifications ------------------------------------------------
468 465
469 // Notifies that a new script context has been created for this frame. 466 // Notifies that a new script context has been created for this frame.
470 // This is similar to didClearWindowObject but only called once per 467 // This is similar to didClearWindowObject but only called once per
471 // frame context. 468 // frame context.
472 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { } 469 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>, int extensionGroup, int worldId) { }
473 470
474 // WebKit is about to release its reference to a v8 context for a frame. 471 // WebKit is about to release its reference to a v8 context for a frame.
475 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { } 472 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context> , int worldId) { }
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // This method takes ownership of the callbacks pointer. 695 // This method takes ownership of the callbacks pointer.
699 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 696 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
700 697
701 protected: 698 protected:
702 virtual ~WebFrameClient() { } 699 virtual ~WebFrameClient() { }
703 }; 700 };
704 701
705 } // namespace blink 702 } // namespace blink
706 703
707 #endif 704 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/web.gypi ('k') | third_party/WebKit/public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698