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

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

Issue 1415923003: Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class WebCookieJar; 67 class WebCookieJar;
68 class WebDataSource; 68 class WebDataSource;
69 class WebEncryptedMediaClient; 69 class WebEncryptedMediaClient;
70 class WebExternalPopupMenu; 70 class WebExternalPopupMenu;
71 class WebExternalPopupMenuClient; 71 class WebExternalPopupMenuClient;
72 class WebFormElement; 72 class WebFormElement;
73 class WebGeolocationClient; 73 class WebGeolocationClient;
74 class WebMediaPlayer; 74 class WebMediaPlayer;
75 class WebMediaPlayerClient; 75 class WebMediaPlayerClient;
76 class WebMediaPlayerEncryptedMediaClient; 76 class WebMediaPlayerEncryptedMediaClient;
77 class WebMediaSession;
77 class WebMIDIClient; 78 class WebMIDIClient;
78 class WebNotificationPermissionCallback; 79 class WebNotificationPermissionCallback;
79 class WebPermissionClient; 80 class WebPermissionClient;
80 class WebServiceWorkerProvider; 81 class WebServiceWorkerProvider;
81 class WebSocketHandle; 82 class WebSocketHandle;
82 class WebPlugin; 83 class WebPlugin;
83 class WebPresentationClient; 84 class WebPresentationClient;
84 class WebPushClient; 85 class WebPushClient;
85 class WebRTCPeerConnectionHandler; 86 class WebRTCPeerConnectionHandler;
86 class WebScreenOrientationClient; 87 class WebScreenOrientationClient;
(...skipping 18 matching lines...) Expand all
105 // Factory methods ----------------------------------------------------- 106 // Factory methods -----------------------------------------------------
106 107
107 // May return null. 108 // May return null.
108 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 109 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
109 110
110 // May return null. 111 // May return null.
111 // WebContentDecryptionModule* may be null if one has not yet been set. 112 // WebContentDecryptionModule* may be null if one has not yet been set.
112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } 113 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
113 114
114 // May return null. 115 // May return null.
116 virtual WebMediaSession* createMediaSession() { return 0; }
117
118 // May return null.
115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 119 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
116 120
117 // May return null. 121 // May return null.
118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 122 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
119 123
120 // May return null. 124 // May return null.
121 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } 125 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; }
122 126
123 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the 127 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the
124 // client is responsible for rendering the contents of the popup menu. 128 // client is responsible for rendering the contents of the popup menu.
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 // WebUSB -------------------------------------------------------------- 674 // WebUSB --------------------------------------------------------------
671 virtual WebUSBClient* usbClient() { return nullptr; } 675 virtual WebUSBClient* usbClient() { return nullptr; }
672 676
673 protected: 677 protected:
674 virtual ~WebFrameClient() { } 678 virtual ~WebFrameClient() { }
675 }; 679 };
676 680
677 } // namespace blink 681 } // namespace blink
678 682
679 #endif 683 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/mediasession/WebMediaSessionError.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698