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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 1778693002: Revert of 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: 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/content_browser.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 80a24127f02b3d571b2e84a9272658c18d36b1b9..ec7d19edc993e7a7d1c98e9b94affa5c3c2860ad 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -71,6 +71,8 @@
void Init(const base::Time& process_start_time);
void StopWatchdog();
+ static gpu::GpuPreferences GetGpuPreferencesFromCommandLine();
+
private:
// ChildThread overrides.
bool Send(IPC::Message* msg) override;
@@ -101,7 +103,7 @@
const std::string& shader) override;
// Message handlers.
- void OnInitialize(const gpu::GpuPreferences& gpu_preferences);
+ void OnInitialize();
void OnFinalize();
void OnCollectGraphicsInfo();
void OnGetVideoMemoryUsageStats();
« no previous file with comments | « content/content_browser.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698