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

Unified Diff: ui/ozone/public/ui_thread_gpu.h

Issue 821133006: ozone: Dispatch GPU process IPCs to IO thread directly from GpuPlatformSupportHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: ui/ozone/public/ui_thread_gpu.h
diff --git a/ui/ozone/public/ui_thread_gpu.h b/ui/ozone/public/ui_thread_gpu.h
index 8e2358a6b9644db04afc2631eb9c0cf5d2228675..36c793ede109775ef7d8150b1cb0798b7ace27b4 100644
--- a/ui/ozone/public/ui_thread_gpu.h
+++ b/ui/ozone/public/ui_thread_gpu.h
@@ -8,13 +8,10 @@
#include "base/memory/scoped_ptr.h"
#include "ui/ozone/ozone_export.h"
-namespace IPC {
-class Sender;
-}
-
namespace ui {
-class UiThreadGpuForwardingSender;
+class FakeGpuProcess;
+class FakeGpuProcessHost;
// Helper class for applications that do GL on the UI thead.
//
@@ -29,8 +26,8 @@ class OZONE_EXPORT UiThreadGpu {
bool Initialize();
private:
- scoped_ptr<UiThreadGpuForwardingSender> ui_sender_;
- scoped_ptr<UiThreadGpuForwardingSender> gpu_sender_;
+ scoped_ptr<FakeGpuProcess> fake_gpu_process_;
+ scoped_ptr<FakeGpuProcessHost> fake_gpu_process_host_;
DISALLOW_COPY_AND_ASSIGN(UiThreadGpu);
};

Powered by Google App Engine
This is Rietveld 408576698