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

Side by Side Diff: ui/display/manager/chromeos/display_util.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ui/display/chromeos/display_util.h" 5 #include "ui/display/manager/chromeos/display_util.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "ui/display/types/display_snapshot.h" 12 #include "ui/display/types/display_snapshot.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 return num_on_displays; 70 return num_on_displays;
71 } 71 }
72 72
73 bool IsPhysicalDisplayType(ui::DisplayConnectionType type) { 73 bool IsPhysicalDisplayType(ui::DisplayConnectionType type) {
74 return !(type & 74 return !(type &
75 (DISPLAY_CONNECTION_TYPE_NETWORK | DISPLAY_CONNECTION_TYPE_VIRTUAL)); 75 (DISPLAY_CONNECTION_TYPE_NETWORK | DISPLAY_CONNECTION_TYPE_VIRTUAL));
76 } 76 }
77 77
78 } // namespace ui 78 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/display_util.h ('k') | ui/display/manager/chromeos/query_content_protection_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698