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

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

Issue 2894523007: Use display::DisplayMode in ozone/drm/gpu (Closed)
Patch Set: review nits Created 3 years, 7 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
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_MESSAGE_PROXY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "ipc/message_filter.h" 12 #include "ipc/message_filter.h"
13 #include "ui/display/types/display_constants.h" 13 #include "ui/display/types/display_constants.h"
14 #include "ui/display/types/gamma_ramp_rgb_entry.h" 14 #include "ui/display/types/gamma_ramp_rgb_entry.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/ozone/platform/drm/gpu/inter_thread_messaging_proxy.h" 16 #include "ui/ozone/platform/drm/gpu/inter_thread_messaging_proxy.h"
17 17
18 namespace base { 18 namespace base {
19 struct FileDescriptor; 19 struct FileDescriptor;
20 class FilePath; 20 class FilePath;
21 } 21 }
22 22
23 namespace gfx { 23 namespace gfx {
24 class Point; 24 class Point;
25 class Rect; 25 class Rect;
26 } 26 }
27 27
28 namespace ui { 28 namespace ui {
29
30 class DrmThread; 29 class DrmThread;
31 struct DisplayMode_Params; 30 struct DisplayMode_Params;
32 struct DisplaySnapshot_Params; 31 struct DisplaySnapshot_Params;
33 struct OverlayCheck_Params; 32 struct OverlayCheck_Params;
34 33
35 class DrmThreadMessageProxy : public IPC::MessageFilter, 34 class DrmThreadMessageProxy : public IPC::MessageFilter,
36 public InterThreadMessagingProxy { 35 public InterThreadMessagingProxy {
37 public: 36 public:
38 DrmThreadMessageProxy(); 37 DrmThreadMessageProxy();
39 38
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IPC::Sender* sender_ = nullptr; 97 IPC::Sender* sender_ = nullptr;
99 98
100 base::WeakPtrFactory<DrmThreadMessageProxy> weak_ptr_factory_; 99 base::WeakPtrFactory<DrmThreadMessageProxy> weak_ptr_factory_;
101 100
102 DISALLOW_COPY_AND_ASSIGN(DrmThreadMessageProxy); 101 DISALLOW_COPY_AND_ASSIGN(DrmThreadMessageProxy);
103 }; 102 };
104 103
105 } // namespace ui 104 } // namespace ui
106 105
107 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_ 106 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_MESSAGE_PROXY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698