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

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

Issue 2645663004: exo: Initial support for multiple displays in ARC (Closed)
Patch Set: Address nits Created 3 years, 9 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 | components/exo/display.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 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>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Creates a popup shell surface for an existing surface at |position| and 69 // Creates a popup shell surface for an existing surface at |position| and
70 // with |parent|. |position| is in |parent| surface local coordinates. 70 // with |parent|. |position| is in |parent| surface local coordinates.
71 std::unique_ptr<ShellSurface> CreatePopupShellSurface( 71 std::unique_ptr<ShellSurface> CreatePopupShellSurface(
72 Surface* surface, 72 Surface* surface,
73 ShellSurface* parent, 73 ShellSurface* parent,
74 const gfx::Point& position); 74 const gfx::Point& position);
75 75
76 // Creates a remote shell surface for an existing surface using |container|. 76 // Creates a remote shell surface for an existing surface using |container|.
77 std::unique_ptr<ShellSurface> CreateRemoteShellSurface( 77 std::unique_ptr<ShellSurface> CreateRemoteShellSurface(
78 Surface* surface, 78 Surface* surface,
79 const gfx::Point& origin,
80 int container); 79 int container);
81 80
82 // Creates a sub-surface for an existing surface. The sub-surface will be 81 // Creates a sub-surface for an existing surface. The sub-surface will be
83 // a child of |parent|. 82 // a child of |parent|.
84 std::unique_ptr<SubSurface> CreateSubSurface(Surface* surface, 83 std::unique_ptr<SubSurface> CreateSubSurface(Surface* surface,
85 Surface* parent); 84 Surface* parent);
86 85
87 // Creates a notification surface for a surface and notification id. 86 // Creates a notification surface for a surface and notification id.
88 std::unique_ptr<NotificationSurface> CreateNotificationSurface( 87 std::unique_ptr<NotificationSurface> CreateNotificationSurface(
89 Surface* surface, 88 Surface* surface,
90 const std::string& notification_id); 89 const std::string& notification_id);
91 90
92 private: 91 private:
93 NotificationSurfaceManager* const notification_surface_manager_; 92 NotificationSurfaceManager* const notification_surface_manager_;
94 93
95 #if defined(USE_OZONE) 94 #if defined(USE_OZONE)
96 std::vector<gfx::BufferFormat> overlay_formats_; 95 std::vector<gfx::BufferFormat> overlay_formats_;
97 #endif 96 #endif
98 97
99 DISALLOW_COPY_AND_ASSIGN(Display); 98 DISALLOW_COPY_AND_ASSIGN(Display);
100 }; 99 };
101 100
102 } // namespace exo 101 } // namespace exo
103 102
104 #endif // COMPONENTS_EXO_DISPLAY_H_ 103 #endif // COMPONENTS_EXO_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | components/exo/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698