Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 | 352 |
| 353 // Notifies that a worker context has been created. This function is called | 353 // Notifies that a worker context has been created. This function is called |
| 354 // from the worker thread. | 354 // from the worker thread. |
| 355 virtual void DidInitializeWorkerContextOnWorkerThread( | 355 virtual void DidInitializeWorkerContextOnWorkerThread( |
| 356 v8::Local<v8::Context> context) {} | 356 v8::Local<v8::Context> context) {} |
| 357 | 357 |
| 358 // Allows the client to expose interfaces from the renderer process to the | 358 // Allows the client to expose interfaces from the renderer process to the |
| 359 // browser process via |registry|. | 359 // browser process via |registry|. |
| 360 virtual void ExposeInterfacesToBrowser( | 360 virtual void ExposeInterfacesToBrowser( |
| 361 shell::InterfaceRegistry* interface_registry) {} | 361 shell::InterfaceRegistry* interface_registry) {} |
| 362 | |
| 363 // Overwrites the URL and MIME type of a YouTube Flash embed to use an | |
|
mlamouri (slow - plz ping)
2016/07/20 13:22:02
Don't mention YouTube here. It can be implemented
kdsilva
2016/07/21 13:59:46
Done.
| |
| 364 // HTML5 video player when possible. | |
| 365 virtual bool OverrideEmbedInfo(std::string* url); | |
| 366 | |
| 362 }; | 367 }; |
| 363 | 368 |
| 364 } // namespace content | 369 } // namespace content |
| 365 | 370 |
| 366 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 371 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |