Index: chrome/gpu/chrome_content_gpu_client.h |
diff --git a/chrome/gpu/chrome_content_gpu_client.h b/chrome/gpu/chrome_content_gpu_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2cc6a0e3f4076a909ff102df4c237cdc888745ce |
--- /dev/null |
+++ b/chrome/gpu/chrome_content_gpu_client.h |
@@ -0,0 +1,25 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ |
+#define CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ |
+ |
+#include "base/macros.h" |
+#include "content/public/gpu/content_gpu_client.h" |
+ |
+class ChromeContentGpuClient : public content::ContentGpuClient { |
+ public: |
+ ChromeContentGpuClient(); |
+ ~ChromeContentGpuClient() override; |
+ |
+ // content::ContentGpuClient implementation. |
+ void RegisterMojoServices( |
+ content::ServiceRegistry* registry, |
+ const gpu::GpuPreferences& gpu_preferences) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient); |
+}; |
+ |
+#endif // CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ |