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

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

Issue 2338223003: Unassociating MediaSession from media players (in blink & content) (Closed)
Patch Set: fixed tests Created 4 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/Source/web/FrameLoaderClientImpl.cpp ('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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 class WebFrameClient { 111 class WebFrameClient {
112 public: 112 public:
113 // Factory methods ----------------------------------------------------- 113 // Factory methods -----------------------------------------------------
114 114
115 // May return null. 115 // May return null.
116 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 116 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
117 117
118 // May return null. 118 // May return null.
119 // WebContentDecryptionModule* may be null if one has not yet been set. 119 // WebContentDecryptionModule* may be null if one has not yet been set.
120 virtual WebMediaPlayer* createMediaPlayer(const WebMediaPlayerSource&, WebMe diaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModul e*, const WebString& sinkId, WebMediaSession*) { return 0; } 120 virtual WebMediaPlayer* createMediaPlayer(const WebMediaPlayerSource&, WebMe diaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionModul e*, const WebString& sinkId) { return 0; }
121 121
122 // May return null. 122 // May return null.
123 virtual WebMediaSession* createMediaSession() { return 0; } 123 virtual WebMediaSession* createMediaSession() { return 0; }
124 124
125 // May return null. 125 // May return null.
126 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) { return 0; } 126 virtual WebApplicationCacheHost* createApplicationCacheHost(WebApplicationCa cheHostClient*) { return 0; }
127 127
128 // May return null. 128 // May return null.
129 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0; } 129 virtual WebServiceWorkerProvider* createServiceWorkerProvider() { return 0; }
130 130
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 return WebURL(); 694 return WebURL();
695 } 695 }
696 696
697 protected: 697 protected:
698 virtual ~WebFrameClient() { } 698 virtual ~WebFrameClient() { }
699 }; 699 };
700 700
701 } // namespace blink 701 } // namespace blink
702 702
703 #endif 703 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698