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 30 matching lines...) Expand all Loading... |
41 #include "WebHistoryItem.h" | 41 #include "WebHistoryItem.h" |
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/WebCommon.h" | 48 #include "public/platform/WebCommon.h" |
49 #include "public/platform/WebFileSystem.h" | 49 #include "public/platform/WebFileSystem.h" |
50 #include "public/platform/WebFileSystemType.h" | 50 #include "public/platform/WebFileSystemType.h" |
51 #include "public/platform/WebMediaPlayer.h" | |
52 #include "public/platform/WebSecurityOrigin.h" | 51 #include "public/platform/WebSecurityOrigin.h" |
53 #include "public/platform/WebSetSinkIdCallbacks.h" | 52 #include "public/platform/WebSetSinkIdCallbacks.h" |
54 #include "public/platform/WebStorageQuotaCallbacks.h" | 53 #include "public/platform/WebStorageQuotaCallbacks.h" |
55 #include "public/platform/WebStorageQuotaType.h" | 54 #include "public/platform/WebStorageQuotaType.h" |
56 #include "public/platform/WebURLError.h" | 55 #include "public/platform/WebURLError.h" |
57 #include "public/platform/WebURLRequest.h" | 56 #include "public/platform/WebURLRequest.h" |
58 #include <v8.h> | 57 #include <v8.h> |
59 | 58 |
60 namespace blink { | 59 namespace blink { |
61 | 60 |
62 enum class WebTreeScopeType; | 61 enum class WebTreeScopeType; |
63 class WebApplicationCacheHost; | 62 class WebApplicationCacheHost; |
64 class WebApplicationCacheHostClient; | 63 class WebApplicationCacheHostClient; |
65 class WebAppBannerClient; | 64 class WebAppBannerClient; |
66 class WebBluetooth; | 65 class WebBluetooth; |
67 class WebColorChooser; | 66 class WebColorChooser; |
68 class WebColorChooserClient; | 67 class WebColorChooserClient; |
69 class WebContentDecryptionModule; | 68 class WebContentDecryptionModule; |
70 class WebCookieJar; | 69 class WebCookieJar; |
71 class WebCString; | 70 class WebCString; |
72 class WebDataSource; | 71 class WebDataSource; |
73 class WebEncryptedMediaClient; | 72 class WebEncryptedMediaClient; |
74 class WebExternalPopupMenu; | 73 class WebExternalPopupMenu; |
75 class WebExternalPopupMenuClient; | 74 class WebExternalPopupMenuClient; |
76 class WebFormElement; | 75 class WebFormElement; |
77 class WebGeolocationClient; | 76 class WebGeolocationClient; |
78 class WebInstalledAppClient; | 77 class WebInstalledAppClient; |
| 78 class WebMediaPlayer; |
79 class WebMediaPlayerClient; | 79 class WebMediaPlayerClient; |
80 class WebMediaPlayerEncryptedMediaClient; | 80 class WebMediaPlayerEncryptedMediaClient; |
81 class WebMediaSession; | 81 class WebMediaSession; |
82 class WebMIDIClient; | 82 class WebMIDIClient; |
83 class WebNotificationPermissionCallback; | 83 class WebNotificationPermissionCallback; |
84 class WebPermissionClient; | 84 class WebPermissionClient; |
85 class WebServiceWorkerProvider; | 85 class WebServiceWorkerProvider; |
86 class WebSocketHandle; | 86 class WebSocketHandle; |
87 class WebPlugin; | 87 class WebPlugin; |
88 class WebPresentationClient; | 88 class WebPresentationClient; |
(...skipping 18 matching lines...) Expand all Loading... |
107 | 107 |
108 class WebFrameClient { | 108 class WebFrameClient { |
109 public: | 109 public: |
110 // Factory methods ----------------------------------------------------- | 110 // Factory methods ----------------------------------------------------- |
111 | 111 |
112 // May return null. | 112 // May return null. |
113 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re
turn 0; } | 113 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re
turn 0; } |
114 | 114 |
115 // May return null. | 115 // May return null. |
116 // WebContentDecryptionModule* may be null if one has not yet been set. | 116 // WebContentDecryptionModule* may be null if one has not yet been set. |
117 virtual WebMediaPlayer* createMediaPlayer(WebMediaPlayer::LoadType, const We
bURL&, WebMediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDec
ryptionModule*, const WebString& sinkId, WebMediaSession*) { return 0; } | 117 virtual WebMediaPlayer* createMediaPlayer(const WebURL&, WebMediaPlayerClien
t*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModule*, const WebS
tring& sinkId, WebMediaSession*) { return 0; } |
118 | 118 |
119 // May return null. | 119 // May return null. |
120 virtual WebMediaSession* createMediaSession() { return 0; } | 120 virtual WebMediaSession* createMediaSession() { return 0; } |
121 | 121 |
122 // May return null. | 122 // May return null. |
123 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa
cheHostClient*) { return 0; } | 123 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa
cheHostClient*) { return 0; } |
124 | 124 |
125 // May return null. | 125 // May return null. |
126 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0;
} | 126 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0;
} |
127 | 127 |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 // This method takes ownership of the callbacks pointer. | 720 // This method takes ownership of the callbacks pointer. |
721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} | 721 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId,
const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED();
} |
722 | 722 |
723 protected: | 723 protected: |
724 virtual ~WebFrameClient() { } | 724 virtual ~WebFrameClient() { } |
725 }; | 725 }; |
726 | 726 |
727 } // namespace blink | 727 } // namespace blink |
728 | 728 |
729 #endif | 729 #endif |
OLD | NEW |