Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: public/web/WebFrameClient.h

Issue 1259643002: NOT FOR LANDING Introduce and use WebMediaSession (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hack until something works Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 class WebCookieJar; 68 class WebCookieJar;
69 class WebDataSource; 69 class WebDataSource;
70 class WebEncryptedMediaClient; 70 class WebEncryptedMediaClient;
71 class WebExternalPopupMenu; 71 class WebExternalPopupMenu;
72 class WebExternalPopupMenuClient; 72 class WebExternalPopupMenuClient;
73 class WebFormElement; 73 class WebFormElement;
74 class WebGeolocationClient; 74 class WebGeolocationClient;
75 class WebMediaPlayer; 75 class WebMediaPlayer;
76 class WebMediaPlayerClient; 76 class WebMediaPlayerClient;
77 class WebMediaPlayerEncryptedMediaClient; 77 class WebMediaPlayerEncryptedMediaClient;
78 class WebMediaSession;
78 class WebMIDIClient; 79 class WebMIDIClient;
79 class WebNotificationPermissionCallback; 80 class WebNotificationPermissionCallback;
80 class WebPermissionClient; 81 class WebPermissionClient;
81 class WebServiceWorkerProvider; 82 class WebServiceWorkerProvider;
82 class WebSocketHandle; 83 class WebSocketHandle;
83 class WebPlugin; 84 class WebPlugin;
84 class WebPluginPlaceholder; 85 class WebPluginPlaceholder;
85 class WebPresentationClient; 86 class WebPresentationClient;
86 class WebPushClient; 87 class WebPushClient;
87 class WebRTCPeerConnectionHandler; 88 class WebRTCPeerConnectionHandler;
(...skipping 22 matching lines...) Expand all
110 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; } 111 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; }
111 112
112 // May return null. 113 // May return null.
113 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 114 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
114 115
115 // May return null. 116 // May return null.
116 // WebContentDecryptionModule* may be null if one has not yet been set. 117 // WebContentDecryptionModule* may be null if one has not yet been set.
117 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } 118 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
118 119
119 // May return null. 120 // May return null.
121 virtual WebMediaSession* createMediaSession(WebLocalFrame*) { return 0; }
122
123 // May return null.
120 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 124 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
121 125
122 // May return null. 126 // May return null.
123 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 127 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
124 128
125 // May return null. 129 // May return null.
126 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } 130 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; }
127 131
128 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the 132 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the
129 // client is responsible for rendering the contents of the popup menu. 133 // client is responsible for rendering the contents of the popup menu.
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 // WebUSB -------------------------------------------------------------- 677 // WebUSB --------------------------------------------------------------
674 virtual WebUSBClient* usbClient() { return nullptr; } 678 virtual WebUSBClient* usbClient() { return nullptr; }
675 679
676 protected: 680 protected:
677 virtual ~WebFrameClient() { } 681 virtual ~WebFrameClient() { }
678 }; 682 };
679 683
680 } // namespace blink 684 } // namespace blink
681 685
682 #endif 686 #endif
OLDNEW
« Source/modules/mediasession/MediaSession.h ('K') | « public/platform/WebMediaSession.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698