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