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

Issue 10416020: Desktop aura: Put x11 cache in aura, instead of ui/base/x/. (Closed)

Created:
8 years, 7 months ago by Elliot Glaysher
Modified:
8 years, 7 months ago
Reviewers:
sadrul, Daniel Erat, sky
CC:
chromium-reviews, tfarina, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Desktop aura: Put x11 cache in aura, instead of ui/base/x/. This should solve the pyauto compile error because MessagePumpX is actually an aura component, not a general x11 component. Instead of being a Singleton, X11AtomCache should tie its lifetime to an aura::Env, which are reset in the unit tests whenever an X server is switched out. BUG=128584, 129075 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138290

Patch Set 1 #

Patch Set 2 : Fix X11AtomCache ownership. #

Total comments: 4

Patch Set 3 : remove aura:: prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -165 lines) Patch
M ui/aura/aura.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/env.h View 1 3 chunks +11 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 5 chunks +9 lines, -10 lines 0 comments Download
A + ui/aura/x11_atom_cache.h View 1 4 chunks +9 lines, -11 lines 0 comments Download
A + ui/aura/x11_atom_cache.cc View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
D ui/base/x/x11_atom_cache.h View 1 chunk +0 lines, -58 lines 0 comments Download
D ui/base/x/x11_atom_cache.cc View 1 chunk +0 lines, -65 lines 0 comments Download
M ui/ui.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/x11_window_event_filter.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Elliot Glaysher
8 years, 7 months ago (2012-05-21 22:44:12 UTC) #1
Daniel Erat
lgtm https://chromiumcodereview.appspot.com/10416020/diff/4001/ui/aura/aura.gyp File ui/aura/aura.gyp (right): https://chromiumcodereview.appspot.com/10416020/diff/4001/ui/aura/aura.gyp#newcode113 ui/aura/aura.gyp:113: 'x11_atom_cache.cc', do we already filter out the x11_ ...
8 years, 7 months ago (2012-05-21 22:49:43 UTC) #2
Elliot Glaysher
+sadrul: we also need to tie the atom cache to the lifetime of Env. Otherwise, ...
8 years, 7 months ago (2012-05-21 22:54:44 UTC) #3
sadrul
LGTM
8 years, 7 months ago (2012-05-21 23:04:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/10416020/10002
8 years, 7 months ago (2012-05-21 23:18:58 UTC) #5
commit-bot: I haz the power
Presubmit check for 10416020-10002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-21 23:19:07 UTC) #6
Elliot Glaysher
+sky for stamp
8 years, 7 months ago (2012-05-21 23:19:44 UTC) #7
sky
LGTM
8 years, 7 months ago (2012-05-22 00:00:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/10416020/10002
8 years, 7 months ago (2012-05-22 00:00:45 UTC) #9
commit-bot: I haz the power
8 years, 7 months ago (2012-05-22 02:49:06 UTC) #10
Try job failure for 10416020-10002 (retry) on win_rel for steps "base_unittests,
sync_unit_tests".
It's a second try, previously, steps "base_unittests, sync_unit_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698