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

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

Issue 2706543002: exo: Synchronize multi-display window positioning (Closed)
Patch Set: Address nit 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 std::unique_ptr<ShellSurface> CreateShellSurface(Surface* surface); 67 std::unique_ptr<ShellSurface> CreateShellSurface(Surface* surface);
68 68
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(Surface* surface, 77 std::unique_ptr<ShellSurface> CreateRemoteShellSurface(
78 int container); 78 Surface* surface,
79 const gfx::Point& origin,
80 int container);
79 81
80 // Creates a sub-surface for an existing surface. The sub-surface will be 82 // Creates a sub-surface for an existing surface. The sub-surface will be
81 // a child of |parent|. 83 // a child of |parent|.
82 std::unique_ptr<SubSurface> CreateSubSurface(Surface* surface, 84 std::unique_ptr<SubSurface> CreateSubSurface(Surface* surface,
83 Surface* parent); 85 Surface* parent);
84 86
85 // Creates a notification surface for a surface and notification id. 87 // Creates a notification surface for a surface and notification id.
86 std::unique_ptr<NotificationSurface> CreateNotificationSurface( 88 std::unique_ptr<NotificationSurface> CreateNotificationSurface(
87 Surface* surface, 89 Surface* surface,
88 const std::string& notification_id); 90 const std::string& notification_id);
89 91
90 private: 92 private:
91 NotificationSurfaceManager* const notification_surface_manager_; 93 NotificationSurfaceManager* const notification_surface_manager_;
92 94
93 #if defined(USE_OZONE) 95 #if defined(USE_OZONE)
94 std::vector<gfx::BufferFormat> overlay_formats_; 96 std::vector<gfx::BufferFormat> overlay_formats_;
95 #endif 97 #endif
96 98
97 DISALLOW_COPY_AND_ASSIGN(Display); 99 DISALLOW_COPY_AND_ASSIGN(Display);
98 }; 100 };
99 101
100 } // namespace exo 102 } // namespace exo
101 103
102 #endif // COMPONENTS_EXO_DISPLAY_H_ 104 #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