| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/WebFileSystem.h" | 50 #include "public/platform/WebFileSystem.h" |
| 51 #include "public/platform/WebFileSystemType.h" | 51 #include "public/platform/WebFileSystemType.h" |
| 52 #include "public/platform/WebLoadingData.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 |
| 60 namespace blink { | 61 namespace blink { |
| 61 | 62 |
| (...skipping 419 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 // Blink exhibited a certain loading behavior that the browser process will |
| 493 // use for segregated histograms. |
| 494 virtual void didObserveLoadingBehavior(WebLoadingData) { } |
| 495 |
| 491 | 496 |
| 492 // Script notifications ------------------------------------------------ | 497 // Script notifications ------------------------------------------------ |
| 493 | 498 |
| 494 // Notifies that a new script context has been created for this frame. | 499 // Notifies that a new script context has been created for this frame. |
| 495 // This is similar to didClearWindowObject but only called once per | 500 // This is similar to didClearWindowObject but only called once per |
| 496 // frame context. | 501 // frame context. |
| 497 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } | 502 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } |
| 498 | 503 |
| 499 // WebKit is about to release its reference to a v8 context for a frame. | 504 // 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) { } | 505 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. | 728 // This method takes ownership of the callbacks pointer. |
| 724 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 729 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
| 725 | 730 |
| 726 protected: | 731 protected: |
| 727 virtual ~WebFrameClient() { } | 732 virtual ~WebFrameClient() { } |
| 728 }; | 733 }; |
| 729 | 734 |
| 730 } // namespace blink | 735 } // namespace blink |
| 731 | 736 |
| 732 #endif | 737 #endif |
| OLD | NEW |