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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. 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
« no previous file with comments | « ui/ozone/public/surface_ozone_egl.h ('k') | ui/ozone/public/ui_thread_gpu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 8e2358a6b9644db04afc2631eb9c0cf5d2228675..0000000000000000000000000000000000000000
--- a/ui/ozone/public/ui_thread_gpu.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 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 UI_OZONE_PUBLIC_UI_THREAD_GPU_H_
-#define UI_OZONE_PUBLIC_UI_THREAD_GPU_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/ozone/ozone_export.h"
-
-namespace IPC {
-class Sender;
-}
-
-namespace ui {
-
-class UiThreadGpuForwardingSender;
-
-// Helper class for applications that do GL on the UI thead.
-//
-// This sets up message forwarding between the "gpu" and "ui" threads,
-// for applications in which they are both the same thread.
-class OZONE_EXPORT UiThreadGpu {
- public:
- UiThreadGpu();
- virtual ~UiThreadGpu();
-
- // Start processing gpu messages.
- bool Initialize();
-
- private:
- scoped_ptr<UiThreadGpuForwardingSender> ui_sender_;
- scoped_ptr<UiThreadGpuForwardingSender> gpu_sender_;
-
- DISALLOW_COPY_AND_ASSIGN(UiThreadGpu);
-};
-
-} // namespace ui
-
-#endif // UI_OZONE_PUBLIC_UI_THREAD_GPU_H_
« no previous file with comments | « ui/ozone/public/surface_ozone_egl.h ('k') | ui/ozone/public/ui_thread_gpu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698