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

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

Issue 1412933005: Revert of Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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;
78 class WebMIDIClient; 77 class WebMIDIClient;
79 class WebNotificationPermissionCallback; 78 class WebNotificationPermissionCallback;
80 class WebPermissionClient; 79 class WebPermissionClient;
81 class WebServiceWorkerProvider; 80 class WebServiceWorkerProvider;
82 class WebSocketHandle; 81 class WebSocketHandle;
83 class WebPlugin; 82 class WebPlugin;
84 class WebPresentationClient; 83 class WebPresentationClient;
85 class WebPushClient; 84 class WebPushClient;
86 class WebRTCPeerConnectionHandler; 85 class WebRTCPeerConnectionHandler;
87 class WebScreenOrientationClient; 86 class WebScreenOrientationClient;
(...skipping 18 matching lines...) Expand all
106 // Factory methods ----------------------------------------------------- 105 // Factory methods -----------------------------------------------------
107 106
108 // May return null. 107 // May return null.
109 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 108 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
110 109
111 // May return null. 110 // May return null.
112 // WebContentDecryptionModule* may be null if one has not yet been set. 111 // WebContentDecryptionModule* may be null if one has not yet been set.
113 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } 112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
114 113
115 // May return null. 114 // May return null.
116 virtual WebMediaSession* createMediaSession() { return 0; }
117
118 // May return null.
119 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
120 116
121 // May return null. 117 // May return null.
122 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
123 119
124 // May return null. 120 // May return null.
125 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; } 121 virtual WebWorkerContentSettingsClientProxy* createWorkerContentSettingsClie ntProxy(WebLocalFrame* frame) { return 0; }
126 122
127 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the 123 // Create a new WebPopupMenu. In the "createExternalPopupMenu" form, the
128 // client is responsible for rendering the contents of the popup menu. 124 // client is responsible for rendering the contents of the popup menu.
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 // WebUSB -------------------------------------------------------------- 676 // WebUSB --------------------------------------------------------------
681 virtual WebUSBClient* usbClient() { return nullptr; } 677 virtual WebUSBClient* usbClient() { return nullptr; }
682 678
683 protected: 679 protected:
684 virtual ~WebFrameClient() { } 680 virtual ~WebFrameClient() { }
685 }; 681 };
686 682
687 } // namespace blink 683 } // namespace blink
688 684
689 #endif 685 #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