| 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 #include "public/platform/WebStorageQuotaType.h" | 60 #include "public/platform/WebStorageQuotaType.h" |
| 61 #include "public/platform/WebURLError.h" | 61 #include "public/platform/WebURLError.h" |
| 62 #include "public/platform/WebURLRequest.h" | 62 #include "public/platform/WebURLRequest.h" |
| 63 #include "public/web/WebContentSecurityPolicy.h" | 63 #include "public/web/WebContentSecurityPolicy.h" |
| 64 #include <v8.h> | 64 #include <v8.h> |
| 65 | 65 |
| 66 namespace blink { | 66 namespace blink { |
| 67 | 67 |
| 68 enum class WebTreeScopeType; | 68 enum class WebTreeScopeType; |
| 69 class InterfaceProvider; | 69 class InterfaceProvider; |
| 70 class InterfaceRegistry; |
| 70 class WebApplicationCacheHost; | 71 class WebApplicationCacheHost; |
| 71 class WebApplicationCacheHostClient; | 72 class WebApplicationCacheHostClient; |
| 72 class WebAppBannerClient; | 73 class WebAppBannerClient; |
| 73 class WebBluetooth; | 74 class WebBluetooth; |
| 74 class WebColorChooser; | 75 class WebColorChooser; |
| 75 class WebColorChooserClient; | 76 class WebColorChooserClient; |
| 76 class WebContentDecryptionModule; | 77 class WebContentDecryptionModule; |
| 77 class WebCookieJar; | 78 class WebCookieJar; |
| 78 class WebCString; | 79 class WebCString; |
| 79 class WebDataSource; | 80 class WebDataSource; |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 const WebSecurityOrigin&, | 736 const WebSecurityOrigin&, |
| 736 WebSetSinkIdCallbacks* callbacks) { | 737 WebSetSinkIdCallbacks* callbacks) { |
| 737 if (callbacks) { | 738 if (callbacks) { |
| 738 callbacks->onError(WebSetSinkIdError::NotSupported); | 739 callbacks->onError(WebSetSinkIdError::NotSupported); |
| 739 delete callbacks; | 740 delete callbacks; |
| 740 } | 741 } |
| 741 } | 742 } |
| 742 | 743 |
| 743 // Mojo ---------------------------------------------------------------- | 744 // Mojo ---------------------------------------------------------------- |
| 744 virtual InterfaceProvider* interfaceProvider() { return nullptr; } | 745 virtual InterfaceProvider* interfaceProvider() { return nullptr; } |
| 746 virtual InterfaceRegistry* interfaceRegistry() { return nullptr; } |
| 745 | 747 |
| 746 // Visibility ---------------------------------------------------------- | 748 // Visibility ---------------------------------------------------------- |
| 747 | 749 |
| 748 // Returns the current visibility of the WebFrame. | 750 // Returns the current visibility of the WebFrame. |
| 749 virtual WebPageVisibilityState visibilityState() const { | 751 virtual WebPageVisibilityState visibilityState() const { |
| 750 return WebPageVisibilityStateVisible; | 752 return WebPageVisibilityStateVisible; |
| 751 } | 753 } |
| 752 | 754 |
| 753 // Overwrites the given URL to use an HTML5 embed if possible. | 755 // Overwrites the given URL to use an HTML5 embed if possible. |
| 754 // An empty URL is returned if the URL is not overriden. | 756 // An empty URL is returned if the URL is not overriden. |
| 755 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 756 return WebURL(); | 758 return WebURL(); |
| 757 } | 759 } |
| 758 }; | 760 }; |
| 759 | 761 |
| 760 } // namespace blink | 762 } // namespace blink |
| 761 | 763 |
| 762 #endif | 764 #endif |
| OLD | NEW |