| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 WebApplicationCacheHost; | 70 class WebApplicationCacheHost; |
| 71 class WebApplicationCacheHostClient; | 71 class WebApplicationCacheHostClient; |
| 72 class WebAppBannerClient; | |
| 73 class WebBluetooth; | 72 class WebBluetooth; |
| 74 class WebColorChooser; | 73 class WebColorChooser; |
| 75 class WebColorChooserClient; | 74 class WebColorChooserClient; |
| 76 class WebContentDecryptionModule; | 75 class WebContentDecryptionModule; |
| 77 class WebCookieJar; | 76 class WebCookieJar; |
| 78 class WebCString; | 77 class WebCString; |
| 79 class WebDataSource; | 78 class WebDataSource; |
| 80 class WebEncryptedMediaClient; | 79 class WebEncryptedMediaClient; |
| 81 class WebExternalPopupMenu; | 80 class WebExternalPopupMenu; |
| 82 class WebExternalPopupMenuClient; | 81 class WebExternalPopupMenuClient; |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 // become present or stop being present. |type| is the type of element | 693 // become present or stop being present. |type| is the type of element |
| 695 // (BeforeUnload handler, Unload handler). | 694 // (BeforeUnload handler, Unload handler). |
| 696 enum SuddenTerminationDisablerType { | 695 enum SuddenTerminationDisablerType { |
| 697 BeforeUnloadHandler, | 696 BeforeUnloadHandler, |
| 698 UnloadHandler, | 697 UnloadHandler, |
| 699 }; | 698 }; |
| 700 virtual void suddenTerminationDisablerChanged(bool present, | 699 virtual void suddenTerminationDisablerChanged(bool present, |
| 701 SuddenTerminationDisablerType) { | 700 SuddenTerminationDisablerType) { |
| 702 } | 701 } |
| 703 | 702 |
| 704 // App Banners --------------------------------------------------------- | |
| 705 virtual WebAppBannerClient* appBannerClient() { return 0; } | |
| 706 | |
| 707 // Navigator Content Utils -------------------------------------------- | 703 // Navigator Content Utils -------------------------------------------- |
| 708 | 704 |
| 709 // Registers a new URL handler for the given protocol. | 705 // Registers a new URL handler for the given protocol. |
| 710 virtual void registerProtocolHandler(const WebString& scheme, | 706 virtual void registerProtocolHandler(const WebString& scheme, |
| 711 const WebURL& url, | 707 const WebURL& url, |
| 712 const WebString& title) {} | 708 const WebString& title) {} |
| 713 | 709 |
| 714 // Unregisters a given URL handler for the given protocol. | 710 // Unregisters a given URL handler for the given protocol. |
| 715 virtual void unregisterProtocolHandler(const WebString& scheme, | 711 virtual void unregisterProtocolHandler(const WebString& scheme, |
| 716 const WebURL& url) {} | 712 const WebURL& url) {} |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 // Overwrites the given URL to use an HTML5 embed if possible. | 749 // Overwrites the given URL to use an HTML5 embed if possible. |
| 754 // An empty URL is returned if the URL is not overriden. | 750 // An empty URL is returned if the URL is not overriden. |
| 755 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 751 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 756 return WebURL(); | 752 return WebURL(); |
| 757 } | 753 } |
| 758 }; | 754 }; |
| 759 | 755 |
| 760 } // namespace blink | 756 } // namespace blink |
| 761 | 757 |
| 762 #endif | 758 #endif |
| OLD | NEW |