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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 // script) from an insecure source. Note that the insecure content can | 443 // script) from an insecure source. Note that the insecure content can |
443 // spread to other frames in the same origin. | 444 // spread to other frames in the same origin. |
444 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i
nsecureURL) { } | 445 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i
nsecureURL) { } |
445 | 446 |
446 // A reflected XSS was encountered in the page and suppressed. | 447 // A reflected XSS was encountered in the page and suppressed. |
447 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } | 448 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } |
448 | 449 |
449 // A PingLoader was created, and a request dispatched to a URL. | 450 // A PingLoader was created, and a request dispatched to a URL. |
450 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } | 451 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } |
451 | 452 |
| 453 // This frame has displayed inactive content (such as an image) from |
| 454 // a connection with certificate errors. |
| 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 |
| 457 // connection with certificate errors. |
| 458 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web
CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso
urceSecurityInfo) {} |
| 459 |
452 // A performance timing event (e.g. first paint) occurred | 460 // A performance timing event (e.g. first paint) occurred |
453 virtual void didChangePerformanceTiming() { } | 461 virtual void didChangePerformanceTiming() { } |
454 | 462 |
455 | 463 |
456 // Script notifications ------------------------------------------------ | 464 // Script notifications ------------------------------------------------ |
457 | 465 |
458 // 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. |
459 // This is similar to didClearWindowObject but only called once per | 467 // This is similar to didClearWindowObject but only called once per |
460 // frame context. | 468 // frame context. |
461 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) { } |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 // This method takes ownership of the callbacks pointer. | 695 // This method takes ownership of the callbacks pointer. |
688 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();
} |
689 | 697 |
690 protected: | 698 protected: |
691 virtual ~WebFrameClient() { } | 699 virtual ~WebFrameClient() { } |
692 }; | 700 }; |
693 | 701 |
694 } // namespace blink | 702 } // namespace blink |
695 | 703 |
696 #endif | 704 #endif |
OLD | NEW |