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

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_thread.h

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/files/scoped_file.h" 12 #include "base/files/scoped_file.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "mojo/public/cpp/bindings/binding_set.h" 16 #include "mojo/public/cpp/bindings/binding_set.h"
17 #include "services/service_manager/public/cpp/connection.h"
18 #include "ui/gfx/native_pixmap_handle.h" 17 #include "ui/gfx/native_pixmap_handle.h"
19 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
20 #include "ui/gfx/vsync_provider.h" 19 #include "ui/gfx/vsync_provider.h"
21 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" 20 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
22 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" 21 #include "ui/ozone/public/interfaces/device_cursor.mojom.h"
23 #include "ui/ozone/public/swap_completion_callback.h" 22 #include "ui/ozone/public/swap_completion_callback.h"
24 23
25 namespace base { 24 namespace base {
26 struct FileDescriptor; 25 struct FileDescriptor;
27 } 26 }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // The mojo implementation requires a BindingSet because the DrmThread serves 138 // The mojo implementation requires a BindingSet because the DrmThread serves
140 // requests from two different client threads. 139 // requests from two different client threads.
141 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; 140 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_;
142 141
143 DISALLOW_COPY_AND_ASSIGN(DrmThread); 142 DISALLOW_COPY_AND_ASSIGN(DrmThread);
144 }; 143 };
145 144
146 } // namespace ui 145 } // namespace ui
147 146
148 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 147 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698