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

Side by Side Diff: ui/ozone/platform/drm/host/gpu_thread_adapter.h

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_HOST_GPU_THREAD_ADAPTER_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
7 7
8 #include "base/file_descriptor_posix.h" 8 #include "base/file_descriptor_posix.h"
9 #include "ui/display/types/display_constants.h" 9 #include "ui/display/types/display_constants.h"
10 #include "ui/display/types/gamma_ramp_rgb_entry.h" 10 #include "ui/display/types/gamma_ramp_rgb_entry.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 gfx::AcceleratedWidget widget, 51 gfx::AcceleratedWidget widget,
52 const std::vector<OverlayCheck_Params>& new_params) = 0; 52 const std::vector<OverlayCheck_Params>& new_params) = 0;
53 53
54 // Services needed by DrmDisplayHost 54 // Services needed by DrmDisplayHost
55 virtual bool GpuConfigureNativeDisplay( 55 virtual bool GpuConfigureNativeDisplay(
56 int64_t display_id, 56 int64_t display_id,
57 const ui::DisplayMode_Params& display_mode, 57 const ui::DisplayMode_Params& display_mode,
58 const gfx::Point& point) = 0; 58 const gfx::Point& point) = 0;
59 virtual bool GpuDisableNativeDisplay(int64_t display_id) = 0; 59 virtual bool GpuDisableNativeDisplay(int64_t display_id) = 0;
60 virtual bool GpuGetHDCPState(int64_t display_id) = 0; 60 virtual bool GpuGetHDCPState(int64_t display_id) = 0;
61 virtual bool GpuSetHDCPState(int64_t display_id, ui::HDCPState state) = 0; 61 virtual bool GpuSetHDCPState(int64_t display_id,
62 display::HDCPState state) = 0;
62 virtual bool GpuSetColorCorrection( 63 virtual bool GpuSetColorCorrection(
63 int64_t display_id, 64 int64_t display_id,
64 const std::vector<GammaRampRGBEntry>& degamma_lut, 65 const std::vector<display::GammaRampRGBEntry>& degamma_lut,
65 const std::vector<GammaRampRGBEntry>& gamma_lut, 66 const std::vector<display::GammaRampRGBEntry>& gamma_lut,
66 const std::vector<float>& correction_matrix) = 0; 67 const std::vector<float>& correction_matrix) = 0;
67 68
68 // Services needed by DrmWindowHost 69 // Services needed by DrmWindowHost
69 virtual bool GpuDestroyWindow(gfx::AcceleratedWidget widget) = 0; 70 virtual bool GpuDestroyWindow(gfx::AcceleratedWidget widget) = 0;
70 virtual bool GpuCreateWindow(gfx::AcceleratedWidget widget) = 0; 71 virtual bool GpuCreateWindow(gfx::AcceleratedWidget widget) = 0;
71 virtual bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget, 72 virtual bool GpuWindowBoundsChanged(gfx::AcceleratedWidget widget,
72 const gfx::Rect& bounds) = 0; 73 const gfx::Rect& bounds) = 0;
73 }; 74 };
74 75
75 } // namespace ui 76 } // namespace ui
76 77
77 #endif // UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_ 78 #endif // UI_OZONE_PLATFORM_DRM_HOST_GPU_THREAD_ADAPTER_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_window_host.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698