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

Issue 297983005: linux_aura: Bail early if we can't connect to the X11 server. (Closed)

Created:
6 years, 7 months ago by Elliot Glaysher
Modified:
6 years, 6 months ago
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, kalyank
Visibility:
Public.

Description

linux_aura: Add a "--display=" switch like GTK+ has. Looking through crash output, we should do the right thing when chrome is run like this: "DISPLAY= chrome --display=:0.0" BUG=376971 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273725

Patch Set 1 #

Patch Set 2 : Parse --display= #

Patch Set 3 : Actually add the switch files. #

Patch Set 4 : Let's get an explicit -rHEAD. #

Patch Set 5 : Fix chromeos and gn builds. #

Patch Set 6 : Talked to brettw; this should fix it. #

Total comments: 2

Patch Set 7 : Revert chromeos only file. #

Patch Set 8 : Rebase to TOT and resolve conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -16 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M media/base/user_input_monitor_linux.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/x/gfx_x11.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
A + ui/gfx/x/x11_switches.h View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
A + ui/gfx/x/x11_switches.cc View 1 2 1 chunk +5 lines, -6 lines 0 comments Download
M ui/gfx/x/x11_types.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gfx/x/x11_types.cc View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M ui/gl/gl_surface_glx.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Elliot Glaysher
Do you agree with my analysis of the bug? If so, is there a better ...
6 years, 7 months ago (2014-05-23 22:15:04 UTC) #1
piman
Maybe in BrowserMainLoop::EarlyInitialization would be even better. Right now content/ needs a valid Display through ...
6 years, 7 months ago (2014-05-23 22:27:07 UTC) #2
Elliot Glaysher
Switching to sadrul since piman and danakj are out.
6 years, 6 months ago (2014-05-28 20:53:08 UTC) #3
sadrul
lgtm Maybe have a presubmit check that new code does not use XOpenDisplay(NULL)?
6 years, 6 months ago (2014-05-28 21:26:22 UTC) #4
Elliot Glaysher
acolwell, asvitkine, kbr: owners stamps
6 years, 6 months ago (2014-05-29 00:21:55 UTC) #5
Elliot Glaysher
-acolwell,+fischman: owners stamp since acolwell is ooo.
6 years, 6 months ago (2014-05-29 00:22:50 UTC) #6
Ami GONE FROM CHROMIUM
LGTM with if-you-want-to suggestion https://codereview.chromium.org/297983005/diff/90001/ui/gfx/x/x11_types.cc File ui/gfx/x/x11_types.cc (right): https://codereview.chromium.org/297983005/diff/90001/ui/gfx/x/x11_types.cc#newcode23 ui/gfx/x/x11_types.cc:23: #if defined(OS_CHROMEOS) CHECK cmd line ...
6 years, 6 months ago (2014-05-29 00:28:43 UTC) #7
Ken Russell (switch to Gerrit)
LGTM with fischman's comment addressed.
6 years, 6 months ago (2014-05-29 00:32:48 UTC) #8
Elliot Glaysher
https://codereview.chromium.org/297983005/diff/90001/ui/gfx/x/x11_types.cc File ui/gfx/x/x11_types.cc (right): https://codereview.chromium.org/297983005/diff/90001/ui/gfx/x/x11_types.cc#newcode23 ui/gfx/x/x11_types.cc:23: #if defined(OS_CHROMEOS) On 2014/05/29 00:28:43, Ami Fischman wrote: > ...
6 years, 6 months ago (2014-05-29 00:35:22 UTC) #9
Ami GONE FROM CHROMIUM
On Wed, May 28, 2014 at 5:35 PM, <erg@chromium.org> wrote: > > https://codereview.chromium.org/297983005/diff/90001/ui/gfx/x/x11_types.cc > File ...
6 years, 6 months ago (2014-05-29 00:43:16 UTC) #10
Alexei Svitkine (slow)
LGTM
6 years, 6 months ago (2014-05-29 13:07:42 UTC) #11
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 6 months ago (2014-05-29 17:59:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/297983005/110001
6 years, 6 months ago (2014-05-29 18:01:11 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 23:14:26 UTC) #14
commit-bot: I haz the power
Failed to apply patch for ui/gfx/x/BUILD.gn: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 6 months ago (2014-05-29 23:14:27 UTC) #15
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 6 months ago (2014-05-30 00:45:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/297983005/130001
6 years, 6 months ago (2014-05-30 00:48:01 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 05:31:18 UTC) #18
Message was sent while issue was closed.
Change committed as 273725

Powered by Google App Engine
This is Rietveld 408576698