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

Side by Side Diff: ui/display/manager/display_layout.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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/display/chromeos/display_configurator.h ('k') | ui/display/test/display_manager_test_api.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_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 5 #ifndef UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 6 #define UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
16 #include "ui/display/display_export.h" 16 #include "ui/display/display_export.h"
17 17
18 namespace base {
19 class Value;
20 template <typename T> class JSONValueConverter;
21 }
22
23 namespace display { 18 namespace display {
24 class Display; 19 class Display;
25 20
26 // An identifier used to manage display layout in DisplayManager / 21 // An identifier used to manage display layout in DisplayManager /
27 // DisplayLayoutStore. 22 // DisplayLayoutStore.
28 using DisplayIdList = std::vector<int64_t>; 23 using DisplayIdList = std::vector<int64_t>;
29 24
30 using Displays = std::vector<Display>; 25 using Displays = std::vector<Display>;
31 26
32 // DisplayPlacement specifies where the display (D) is placed relative to 27 // DisplayPlacement specifies where the display (D) is placed relative to
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static bool ApplyDisplayPlacement(const DisplayPlacement& placement, 124 static bool ApplyDisplayPlacement(const DisplayPlacement& placement,
130 Displays* display_list, 125 Displays* display_list,
131 int minimum_offset_overlap); 126 int minimum_offset_overlap);
132 127
133 DISALLOW_COPY_AND_ASSIGN(DisplayLayout); 128 DISALLOW_COPY_AND_ASSIGN(DisplayLayout);
134 }; 129 };
135 130
136 } // namespace display 131 } // namespace display
137 132
138 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_ 133 #endif // UI_DISPLAY_MANAGER_DISPLAY_LAYOUT_H_
OLDNEW
« no previous file with comments | « ui/display/chromeos/display_configurator.h ('k') | ui/display/test/display_manager_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698