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 29 matching lines...) Expand all Loading... |
40 #include "WebHistoryCommitType.h" | 40 #include "WebHistoryCommitType.h" |
41 #include "WebHistoryItem.h" | 41 #include "WebHistoryItem.h" |
42 #include "WebIconURL.h" | 42 #include "WebIconURL.h" |
43 #include "WebNavigationPolicy.h" | 43 #include "WebNavigationPolicy.h" |
44 #include "WebNavigationType.h" | 44 #include "WebNavigationType.h" |
45 #include "WebNavigatorContentUtilsClient.h" | 45 #include "WebNavigatorContentUtilsClient.h" |
46 #include "WebSandboxFlags.h" | 46 #include "WebSandboxFlags.h" |
47 #include "WebTextDirection.h" | 47 #include "WebTextDirection.h" |
48 #include "public/platform/BlameContext.h" | 48 #include "public/platform/BlameContext.h" |
49 #include "public/platform/WebCommon.h" | 49 #include "public/platform/WebCommon.h" |
| 50 #include "public/platform/WebExperimentData.h" |
50 #include "public/platform/WebFileSystem.h" | 51 #include "public/platform/WebFileSystem.h" |
51 #include "public/platform/WebFileSystemType.h" | 52 #include "public/platform/WebFileSystemType.h" |
52 #include "public/platform/WebSecurityOrigin.h" | 53 #include "public/platform/WebSecurityOrigin.h" |
53 #include "public/platform/WebSetSinkIdCallbacks.h" | 54 #include "public/platform/WebSetSinkIdCallbacks.h" |
54 #include "public/platform/WebStorageQuotaCallbacks.h" | 55 #include "public/platform/WebStorageQuotaCallbacks.h" |
55 #include "public/platform/WebStorageQuotaType.h" | 56 #include "public/platform/WebStorageQuotaType.h" |
56 #include "public/platform/WebURLError.h" | 57 #include "public/platform/WebURLError.h" |
57 #include "public/platform/WebURLRequest.h" | 58 #include "public/platform/WebURLRequest.h" |
58 #include <v8.h> | 59 #include <v8.h> |
59 | 60 |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 // This frame has displayed inactive content (such as an image) from | 482 // This frame has displayed inactive content (such as an image) from |
482 // a connection with certificate errors. | 483 // a connection with certificate errors. |
483 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const
WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main
ResourceSecurityInfo) {} | 484 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const
WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main
ResourceSecurityInfo) {} |
484 // This frame has run active content (such as a script) from a | 485 // This frame has run active content (such as a script) from a |
485 // connection with certificate errors. | 486 // connection with certificate errors. |
486 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web
CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso
urceSecurityInfo) {} | 487 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web
CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso
urceSecurityInfo) {} |
487 | 488 |
488 // A performance timing event (e.g. first paint) occurred | 489 // A performance timing event (e.g. first paint) occurred |
489 virtual void didChangePerformanceTiming() { } | 490 virtual void didChangePerformanceTiming() { } |
490 | 491 |
| 492 // An experimental feature was used in blink. |
| 493 virtual void didUseExperiment(WebExperimentData) { } |
| 494 |
491 | 495 |
492 // Script notifications ------------------------------------------------ | 496 // Script notifications ------------------------------------------------ |
493 | 497 |
494 // Notifies that a new script context has been created for this frame. | 498 // Notifies that a new script context has been created for this frame. |
495 // This is similar to didClearWindowObject but only called once per | 499 // This is similar to didClearWindowObject but only called once per |
496 // frame context. | 500 // frame context. |
497 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } | 501 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } |
498 | 502 |
499 // WebKit is about to release its reference to a v8 context for a frame. | 503 // WebKit is about to release its reference to a v8 context for a frame. |
500 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context>
, int worldId) { } | 504 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context>
, int worldId) { } |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 // This method takes ownership of the callbacks pointer. | 727 // This method takes ownership of the callbacks pointer. |
724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 728 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
725 | 729 |
726 protected: | 730 protected: |
727 virtual ~WebFrameClient() { } | 731 virtual ~WebFrameClient() { } |
728 }; | 732 }; |
729 | 733 |
730 } // namespace blink | 734 } // namespace blink |
731 | 735 |
732 #endif | 736 #endif |
OLD | NEW |