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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "WebVector.h" 55 #include "WebVector.h"
56 #include "base/metrics/user_metrics_action.h" 56 #include "base/metrics/user_metrics_action.h"
57 #include "cc/resources/shared_bitmap.h" 57 #include "cc/resources/shared_bitmap.h"
58 58
59 class GrContext; 59 class GrContext;
60 60
61 namespace gpu { 61 namespace gpu {
62 class GpuMemoryBufferManager; 62 class GpuMemoryBufferManager;
63 } 63 }
64 64
65 namespace service_manager {
66 class Connector;
67 }
68
65 namespace v8 { 69 namespace v8 {
66 class Context; 70 class Context;
67 template <class T> 71 template <class T>
68 class Local; 72 class Local;
69 } 73 }
70 74
71 namespace blink { 75 namespace blink {
72 76
73 class InterfaceProvider; 77 class InterfaceProvider;
74 class WebAudioBus; 78 class WebAudioBus;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 164
161 // May return null if sandbox support is not necessary 165 // May return null if sandbox support is not necessary
162 virtual WebSandboxSupport* sandboxSupport() { return nullptr; } 166 virtual WebSandboxSupport* sandboxSupport() { return nullptr; }
163 167
164 // May return null on some platforms. 168 // May return null on some platforms.
165 virtual WebThemeEngine* themeEngine() { return nullptr; } 169 virtual WebThemeEngine* themeEngine() { return nullptr; }
166 170
167 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; } 171 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; }
168 172
169 // May return null. 173 // May return null.
174 virtual service_manager::Connector* serviceConnector() { return nullptr; }
175
176 // May return null.
170 virtual WebSpeechSynthesizer* createSpeechSynthesizer( 177 virtual WebSpeechSynthesizer* createSpeechSynthesizer(
171 WebSpeechSynthesizerClient*) { 178 WebSpeechSynthesizerClient*) {
172 return nullptr; 179 return nullptr;
173 } 180 }
174 181
175 // Audio -------------------------------------------------------------- 182 // Audio --------------------------------------------------------------
176 183
177 virtual double audioHardwareSampleRate() { return 0; } 184 virtual double audioHardwareSampleRate() { return 0; }
178 virtual size_t audioHardwareBufferSize() { return 0; } 185 virtual size_t audioHardwareBufferSize() { return 0; }
179 virtual unsigned audioHardwareOutputChannels() { return 0; } 186 virtual unsigned audioHardwareOutputChannels() { return 0; }
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 protected: 687 protected:
681 Platform(); 688 Platform();
682 virtual ~Platform() {} 689 virtual ~Platform() {}
683 690
684 WebThread* m_mainThread; 691 WebThread* m_mainThread;
685 }; 692 };
686 693
687 } // namespace blink 694 } // namespace blink
688 695
689 #endif 696 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698