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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 2460723003: Enable connection to Mojo services from Blink (Closed)
Patch Set: Fix build Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index b4ab0d9248c43e26faab811ea04dafefed0e977c..d4db208a5196cbf14f2d01020bbf96fd7b17e9bd 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -62,6 +62,10 @@ namespace gpu {
class GpuMemoryBufferManager;
}
+namespace service_manager {
+class Connector;
+}
+
namespace v8 {
class Context;
template <class T>
@@ -167,6 +171,9 @@ class BLINK_PLATFORM_EXPORT Platform {
virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; }
// May return null.
+ virtual service_manager::Connector* serviceConnector() { return nullptr; }
+
+ // May return null.
virtual WebSpeechSynthesizer* createSpeechSynthesizer(
WebSpeechSynthesizerClient*) {
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698