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

Side by Side Diff: chromeos/display/output_util.cc

Issue 19468003: Use a direct include of the message_loop header in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/display/output_configurator_unittest.cc ('k') | chromeos/ime/xkeyboard.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "chromeos/display/output_util.h" 5 #include "chromeos/display/output_util.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 #include <X11/extensions/Xrandr.h> 8 #include <X11/extensions/Xrandr.h>
9 #include <X11/Xatom.h> 9 #include <X11/Xatom.h>
10 10
11 #include "base/hash.h" 11 #include "base/hash.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/sys_byteorder.h" 14 #include "base/sys_byteorder.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 namespace { 17 namespace {
18 18
19 // Prefixes for the built-in displays. 19 // Prefixes for the built-in displays.
20 const char kInternal_LVDS[] = "LVDS"; 20 const char kInternal_LVDS[] = "LVDS";
21 const char kInternal_eDP[] = "eDP"; 21 const char kInternal_eDP[] = "eDP";
22 22
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 } 313 }
314 314
315 return false; 315 return false;
316 } 316 }
317 317
318 bool IsInternalOutputName(const std::string& name) { 318 bool IsInternalOutputName(const std::string& name) {
319 return name.find(kInternal_LVDS) == 0 || name.find(kInternal_eDP) == 0; 319 return name.find(kInternal_LVDS) == 0 || name.find(kInternal_eDP) == 0;
320 } 320 }
321 321
322 } // namespace chromeos 322 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/display/output_configurator_unittest.cc ('k') | chromeos/ime/xkeyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698