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

Side by Side Diff: components/exo/display.h

Issue 2298003002: gfx: Struct traits for GpuMemoryBufferHandle. (Closed)
Patch Set: . Created 4 years, 3 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 | « no previous file | services/ui/common/BUILD.gn » ('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 COMPONENTS_EXO_DISPLAY_H_ 5 #ifndef COMPONENTS_EXO_DISPLAY_H_
6 #define COMPONENTS_EXO_DISPLAY_H_ 6 #define COMPONENTS_EXO_DISPLAY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/shared_memory_handle.h" 14 #include "base/memory/shared_memory_handle.h"
15 15
16 #if defined(USE_OZONE) 16 #if defined(USE_OZONE)
17 #include "base/files/scoped_file.h" 17 #include "base/files/scoped_file.h"
18 #include "ui/gfx/buffer_types.h" 18 #include "ui/gfx/buffer_types.h"
19 #include "ui/gfx/geometry/size.h" 19 #include "ui/gfx/geometry/size.h"
20 #include "ui/gfx/native_pixmap_handle_ozone.h" 20 #include "ui/gfx/native_pixmap_handle.h"
21 #endif 21 #endif
22 22
23 namespace gfx { 23 namespace gfx {
24 class Point; 24 class Point;
25 } 25 }
26 26
27 namespace exo { 27 namespace exo {
28 class NotificationSurface; 28 class NotificationSurface;
29 class NotificationSurfaceManager; 29 class NotificationSurfaceManager;
30 class SharedMemory; 30 class SharedMemory;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 private: 90 private:
91 NotificationSurfaceManager* const notification_surface_manager_; 91 NotificationSurfaceManager* const notification_surface_manager_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(Display); 93 DISALLOW_COPY_AND_ASSIGN(Display);
94 }; 94 };
95 95
96 } // namespace exo 96 } // namespace exo
97 97
98 #endif // COMPONENTS_EXO_DISPLAY_H_ 98 #endif // COMPONENTS_EXO_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | services/ui/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698