summaryrefslogtreecommitdiffstats
path: root/ui/aura/x11_atom_cache.h
Commit message (Collapse)AuthorAgeFilesLines
* cros fix: Make the X11AtomCache a member of the objects.erg@chromium.org2012-05-251-22/+9
| | | | | | | | | | | | | | | As a singleton, the X11AtomCache was not getting cleared during unit tests on platforms that change the X display between tests. This will add an additional roundtrip when an object is created, but this should only be during window creation time. BUG=129075 TEST=none Review URL: https://chromiumcodereview.appspot.com/10450026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138965 0039d316-1c4b-4281-b951-d872f2087c98
* Desktop aura: Put x11 cache in aura, instead of ui/base/x/.erg@google.com2012-05-221-0/+56
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 Review URL: https://chromiumcodereview.appspot.com/10416020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138290 0039d316-1c4b-4281-b951-d872f2087c98