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

Unified Diff: content/public/browser/gpu_utils.h

Issue 1753383003: Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 months 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
« no previous file with comments | « content/gpu/in_process_gpu_thread.cc ('k') | content/public/browser/gpu_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_utils.h
diff --git a/content/public/browser/gpu_utils.h b/content/public/browser/gpu_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..84e78083c3dccf3eb1f99b8fb52db4e2ca629384
--- /dev/null
+++ b/content/public/browser/gpu_utils.h
@@ -0,0 +1,17 @@
+// 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 CONTENT_PUBLIC_BROWSER_GPU_UTILS_H_
+#define CONTENT_PUBLIC_BROWSER_GPU_UTILS_H_
+
+#include "content/common/content_export.h"
+#include "gpu/command_buffer/service/gpu_preferences.h"
+
+namespace content {
+
+CONTENT_EXPORT const gpu::GpuPreferences GetGpuPreferencesFromCommandLine();
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_GPU_UTILS_H_
« no previous file with comments | « content/gpu/in_process_gpu_thread.cc ('k') | content/public/browser/gpu_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698