OLD | NEW |
---|---|
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 | 60 |
61 enum class WebTreeScopeType; | 61 enum class WebTreeScopeType; |
62 class WebApplicationCacheHost; | 62 class WebApplicationCacheHost; |
63 class WebApplicationCacheHostClient; | 63 class WebApplicationCacheHostClient; |
64 class WebAppBannerClient; | 64 class WebAppBannerClient; |
65 class WebBluetooth; | 65 class WebBluetooth; |
66 class WebColorChooser; | 66 class WebColorChooser; |
67 class WebColorChooserClient; | 67 class WebColorChooserClient; |
68 class WebContentDecryptionModule; | 68 class WebContentDecryptionModule; |
69 class WebCookieJar; | 69 class WebCookieJar; |
70 class WebCString; | |
70 class WebDataSource; | 71 class WebDataSource; |
71 class WebEncryptedMediaClient; | 72 class WebEncryptedMediaClient; |
72 class WebExternalPopupMenu; | 73 class WebExternalPopupMenu; |
73 class WebExternalPopupMenuClient; | 74 class WebExternalPopupMenuClient; |
74 class WebFormElement; | 75 class WebFormElement; |
75 class WebGeolocationClient; | 76 class WebGeolocationClient; |
76 class WebMediaPlayer; | 77 class WebMediaPlayer; |
77 class WebMediaPlayerClient; | 78 class WebMediaPlayerClient; |
78 class WebMediaPlayerEncryptedMediaClient; | 79 class WebMediaPlayerEncryptedMediaClient; |
79 class WebMediaSession; | 80 class WebMediaSession; |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
440 // script) from an insecure source. Note that the insecure content can | 441 // script) from an insecure source. Note that the insecure content can |
441 // spread to other frames in the same origin. | 442 // spread to other frames in the same origin. |
442 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i nsecureURL) { } | 443 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i nsecureURL) { } |
443 | 444 |
444 // A reflected XSS was encountered in the page and suppressed. | 445 // A reflected XSS was encountered in the page and suppressed. |
445 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } | 446 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } |
446 | 447 |
447 // A PingLoader was created, and a request dispatched to a URL. | 448 // A PingLoader was created, and a request dispatched to a URL. |
448 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } | 449 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } |
449 | 450 |
451 // This frame has displayed inactive content (such as an image) from | |
452 // a connection with certificate errors. | |
453 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main ResourceSecurityInfo) {} | |
454 // This frame has run inactive content (such as a script) from a | |
dcheng
2015/11/28 09:52:11
Isn't script "active" content?
estark
2015/11/30 18:13:27
Thanks -- that was a mistake, fixed.
| |
455 // connection with certificate errors. | |
456 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso urceSecurityInfo) {} | |
457 | |
450 // A performance timing event (e.g. first paint) occurred | 458 // A performance timing event (e.g. first paint) occurred |
451 virtual void didChangePerformanceTiming() { } | 459 virtual void didChangePerformanceTiming() { } |
452 | 460 |
453 // The loaders in this frame have been stopped. | 461 // The loaders in this frame have been stopped. |
454 virtual void didAbortLoading(WebLocalFrame*) { } | 462 virtual void didAbortLoading(WebLocalFrame*) { } |
455 | 463 |
456 | 464 |
457 // Script notifications ------------------------------------------------ | 465 // Script notifications ------------------------------------------------ |
458 | 466 |
459 // Notifies that a new script context has been created for this frame. | 467 // Notifies that a new script context has been created for this frame. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
688 // This method takes ownership of the callbacks pointer. | 696 // This method takes ownership of the callbacks pointer. |
689 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } | 697 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
690 | 698 |
691 protected: | 699 protected: |
692 virtual ~WebFrameClient() { } | 700 virtual ~WebFrameClient() { } |
693 }; | 701 }; |
694 | 702 |
695 } // namespace blink | 703 } // namespace blink |
696 | 704 |
697 #endif | 705 #endif |
OLD | NEW |