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

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

Issue 423633002: Make HTMLMediaElement.setMediaKeys() asynchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase + add comment Created 6 years, 3 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 | « public/platform/WebMediaPlayer.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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 struct WebURLError; 99 struct WebURLError;
100 100
101 class WebFrameClient { 101 class WebFrameClient {
102 public: 102 public:
103 // Factory methods ----------------------------------------------------- 103 // Factory methods -----------------------------------------------------
104 104
105 // May return null. 105 // May return null.
106 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 106 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
107 107
108 // May return null. 108 // May return null.
109 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*) { return 0; } 109 // WebContentDecryptionModule* may be null if one has not yet been set.
110 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; }
110 111
111 // May return null. 112 // May return null.
112 virtual WebContentDecryptionModule* createContentDecryptionModule(WebLocalFr ame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; } 113 virtual WebContentDecryptionModule* createContentDecryptionModule(WebLocalFr ame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; }
113 114
114 // May return null. 115 // May return null.
115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 116 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
116 117
117 // May return null. 118 // May return null.
118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } 119 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; }
119 120
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 // Whether the frame is controlled by the ServiceWorker 572 // Whether the frame is controlled by the ServiceWorker
572 virtual bool isControlledByServiceWorker() { return false; } 573 virtual bool isControlledByServiceWorker() { return false; }
573 574
574 protected: 575 protected:
575 virtual ~WebFrameClient() { } 576 virtual ~WebFrameClient() { }
576 }; 577 };
577 578
578 } // namespace blink 579 } // namespace blink
579 580
580 #endif 581 #endif
OLDNEW
« no previous file with comments | « public/platform/WebMediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698