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; | |
71 class WebDataSource; | 70 class WebDataSource; |
72 class WebEncryptedMediaClient; | 71 class WebEncryptedMediaClient; |
73 class WebExternalPopupMenu; | 72 class WebExternalPopupMenu; |
74 class WebExternalPopupMenuClient; | 73 class WebExternalPopupMenuClient; |
75 class WebFormElement; | 74 class WebFormElement; |
76 class WebGeolocationClient; | 75 class WebGeolocationClient; |
77 class WebMediaPlayer; | 76 class WebMediaPlayer; |
78 class WebMediaPlayerClient; | 77 class WebMediaPlayerClient; |
79 class WebMediaPlayerEncryptedMediaClient; | 78 class WebMediaPlayerEncryptedMediaClient; |
80 class WebMediaSession; | 79 class WebMediaSession; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 // script) from an insecure source. Note that the insecure content can | 442 // script) from an insecure source. Note that the insecure content can |
444 // spread to other frames in the same origin. | 443 // spread to other frames in the same origin. |
445 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i
nsecureURL) { } | 444 virtual void didRunInsecureContent(const WebSecurityOrigin&, const WebURL& i
nsecureURL) { } |
446 | 445 |
447 // A reflected XSS was encountered in the page and suppressed. | 446 // A reflected XSS was encountered in the page and suppressed. |
448 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } | 447 virtual void didDetectXSS(const WebURL&, bool didBlockEntirePage) { } |
449 | 448 |
450 // A PingLoader was created, and a request dispatched to a URL. | 449 // A PingLoader was created, and a request dispatched to a URL. |
451 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } | 450 virtual void didDispatchPingLoader(WebLocalFrame*, const WebURL&) { } |
452 | 451 |
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 | |
460 // A performance timing event (e.g. first paint) occurred | 452 // A performance timing event (e.g. first paint) occurred |
461 virtual void didChangePerformanceTiming() { } | 453 virtual void didChangePerformanceTiming() { } |
462 | 454 |
463 | 455 |
464 // Script notifications ------------------------------------------------ | 456 // Script notifications ------------------------------------------------ |
465 | 457 |
466 // Notifies that a new script context has been created for this frame. | 458 // Notifies that a new script context has been created for this frame. |
467 // This is similar to didClearWindowObject but only called once per | 459 // This is similar to didClearWindowObject but only called once per |
468 // frame context. | 460 // frame context. |
469 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } | 461 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... |
695 // This method takes ownership of the callbacks pointer. | 687 // This method takes ownership of the callbacks pointer. |
696 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 688 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
697 | 689 |
698 protected: | 690 protected: |
699 virtual ~WebFrameClient() { } | 691 virtual ~WebFrameClient() { } |
700 }; | 692 }; |
701 | 693 |
702 } // namespace blink | 694 } // namespace blink |
703 | 695 |
704 #endif | 696 #endif |
OLD | NEW |