OLD | NEW |
---|---|
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 struct WebSize; | 98 struct WebSize; |
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. |
ddorwin
2014/09/23 23:18:05
Add a comment that WebContentDecryptionModule* may
jrummell
2014/09/24 22:04:06
Done.
| |
109 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*) { return 0; } | 109 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebContentDecryptionModule*) { return 0; } |
110 | 110 |
111 // May return null. | 111 // May return null. |
112 virtual WebContentDecryptionModule* createContentDecryptionModule(WebLocalFr ame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; } | 112 virtual WebContentDecryptionModule* createContentDecryptionModule(WebLocalFr ame*, const WebSecurityOrigin&, const WebString& keySystem) { return 0; } |
113 | 113 |
114 // May return null. | 114 // May return null. |
115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } | 115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } |
116 | 116 |
117 // May return null. | 117 // May return null. |
118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } | 118 virtual WebServiceWorkerProvider* createServiceWorkerProvider(WebLocalFrame* frame) { return 0; } |
119 | 119 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
571 // Whether the frame is controlled by the ServiceWorker | 571 // Whether the frame is controlled by the ServiceWorker |
572 virtual bool isControlledByServiceWorker() { return false; } | 572 virtual bool isControlledByServiceWorker() { return false; } |
573 | 573 |
574 protected: | 574 protected: |
575 virtual ~WebFrameClient() { } | 575 virtual ~WebFrameClient() { } |
576 }; | 576 }; |
577 | 577 |
578 } // namespace blink | 578 } // namespace blink |
579 | 579 |
580 #endif | 580 #endif |
OLD | NEW |