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) or run | |
452 // active content (such as a script) from a connection with | |
jww
2015/11/20 01:25:09
Please make it more clear that the first half of t
estark
2015/11/23 23:40:24
Done.
| |
453 // certificate errors. | |
454 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const WebCString& securityInfo) {} | |
455 virtual void didRunContentWithCertificateErrors(const WebSecurityOrigin&, co nst WebURL& url, const WebCString& securityInfo) {} | |
456 | |
450 // A performance timing event (e.g. first paint) occurred | 457 // A performance timing event (e.g. first paint) occurred |
451 virtual void didChangePerformanceTiming() { } | 458 virtual void didChangePerformanceTiming() { } |
452 | 459 |
453 // The loaders in this frame have been stopped. | 460 // The loaders in this frame have been stopped. |
454 virtual void didAbortLoading(WebLocalFrame*) { } | 461 virtual void didAbortLoading(WebLocalFrame*) { } |
455 | 462 |
456 | 463 |
457 // Script notifications ------------------------------------------------ | 464 // Script notifications ------------------------------------------------ |
458 | 465 |
459 // 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. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
688 // This method takes ownership of the callbacks pointer. | 695 // This method takes ownership of the callbacks pointer. |
689 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(); } |
690 | 697 |
691 protected: | 698 protected: |
692 virtual ~WebFrameClient() { } | 699 virtual ~WebFrameClient() { } |
693 }; | 700 }; |
694 | 701 |
695 } // namespace blink | 702 } // namespace blink |
696 | 703 |
697 #endif | 704 #endif |
OLD | NEW |