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

Unified Diff: ui/gfx/x/x11_switches.cc

Issue 297983005: linux_aura: Bail early if we can't connect to the X11 server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to TOT and resolve conflicts. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/x/x11_switches.h ('k') | ui/gfx/x/x11_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/x/x11_switches.cc
diff --git a/ui/display/display_switches.cc b/ui/gfx/x/x11_switches.cc
similarity index 53%
copy from ui/display/display_switches.cc
copy to ui/gfx/x/x11_switches.cc
index 7d32b5b6b99afa47980be4901f59c6de243d792f..bda0ad3c5572800306fafa4fb9073db46393074b 100644
--- a/ui/display/display_switches.cc
+++ b/ui/gfx/x/x11_switches.cc
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/display/display_switches.h"
+#include "ui/gfx/x/x11_switches.h"
-namespace ui {
namespace switches {
-#if defined(OS_CHROMEOS)
-const char kDisableDisplayColorCalibration[] =
- "disable-display-color-calibration";
+#if !defined(OS_CHROMEOS)
+// Which X11 display to connect to. Emulates the GTK+ "--display=" command line
+// argument.
+const char kX11Display[] = "display";
#endif
} // namespace switches
-} // namespace ui
« no previous file with comments | « ui/gfx/x/x11_switches.h ('k') | ui/gfx/x/x11_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698