Enable all ESC-Fullscreen tests (Chrome Apps) for all platforms.

There were three issues:
1. a silly bug in the fullscreen change check;
2. there was no guarantee that the window would be actually focused;
3. changing the fullscreen state might come with an animation during which key events will not be received.

Note that 2 and 3 are a problem on MacOS only.

BUG=None

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243938

Review URL: https://codereview.chromium.org/116023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244640 0039d316-1c4b-4281-b951-d872f2087c98
Re-land: base: Fix registering of memory pressure listeners used when emulating discardable memory.

Memory pressure listeners need to be created on a thread with a message
loop current. Discardable memory is often used on worker threads that
don't have a message loop and with the current system where listeners
are registered on first use, the result is that we're most likely never
notified of memory pressure.

This adds a function to the discardable memory interface that allows us
to register memory pressure listeners on a thread, and at a time, when
we know a message loop is current.

BUG=332570
TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/129963002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244641 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244640
Move LauncherItemDetails into shelf_item_types.h

Move it from launcher_types.h into shelf_item_types.h and rename to
ShelfItemDetails

BUG=248353
TEST=None, no functional changes
R=jamescook@chromium.org,harrym@chromium.org

Review URL: https://codereview.chromium.org/133233004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244642 0039d316-1c4b-4281-b951-d872f2087c98
Use a bitfield to store animatable properties.

This makes much more sense than a std::set (which is what we're currently doing).

R=sky@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/134453004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244643 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244643