| 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/WebLoadingBehaviorFlag.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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 // This frame has displayed inactive content (such as an image) from | 483 // This frame has displayed inactive content (such as an image) from |
| 483 // a connection with certificate errors. | 484 // a connection with certificate errors. |
| 484 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const
WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main
ResourceSecurityInfo) {} | 485 virtual void didDisplayContentWithCertificateErrors(const WebURL& url, const
WebCString& securityInfo, const WebURL& mainResourceUrl, const WebCString& main
ResourceSecurityInfo) {} |
| 485 // This frame has run active content (such as a script) from a | 486 // This frame has run active content (such as a script) from a |
| 486 // connection with certificate errors. | 487 // connection with certificate errors. |
| 487 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web
CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso
urceSecurityInfo) {} | 488 virtual void didRunContentWithCertificateErrors(const WebURL& url, const Web
CString& securityInfo, const WebURL& mainResourceUrl, const WebCString& mainReso
urceSecurityInfo) {} |
| 488 | 489 |
| 489 // A performance timing event (e.g. first paint) occurred | 490 // A performance timing event (e.g. first paint) occurred |
| 490 virtual void didChangePerformanceTiming() { } | 491 virtual void didChangePerformanceTiming() { } |
| 491 | 492 |
| 493 // Blink exhibited a certain loading behavior that the browser process will |
| 494 // use for segregated histograms. |
| 495 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { } |
| 496 |
| 492 | 497 |
| 493 // Script notifications ------------------------------------------------ | 498 // Script notifications ------------------------------------------------ |
| 494 | 499 |
| 495 // Notifies that a new script context has been created for this frame. | 500 // Notifies that a new script context has been created for this frame. |
| 496 // This is similar to didClearWindowObject but only called once per | 501 // This is similar to didClearWindowObject but only called once per |
| 497 // frame context. | 502 // frame context. |
| 498 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } | 503 virtual void didCreateScriptContext(WebLocalFrame*, v8::Local<v8::Context>,
int extensionGroup, int worldId) { } |
| 499 | 504 |
| 500 // WebKit is about to release its reference to a v8 context for a frame. | 505 // WebKit is about to release its reference to a v8 context for a frame. |
| 501 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context>
, int worldId) { } | 506 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Local<v8::Context>
, int worldId) { } |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 // Mojo ---------------------------------------------------------------- | 732 // Mojo ---------------------------------------------------------------- |
| 728 virtual ServiceRegistry* serviceRegistry() { return nullptr; } | 733 virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
| 729 | 734 |
| 730 protected: | 735 protected: |
| 731 virtual ~WebFrameClient() { } | 736 virtual ~WebFrameClient() { } |
| 732 }; | 737 }; |
| 733 | 738 |
| 734 } // namespace blink | 739 } // namespace blink |
| 735 | 740 |
| 736 #endif | 741 #endif |
| OLD | NEW |