Ephemeral apps initial UI changes for app launcher

This initial batch of UI changes includes:
- Added "Launch" button to WebStore results in the app launcher,
intended to launch apps without installing in Chrome. However, the app
currently will be installed and launched.
- If the app does not have any permission warnings, the launch prompt
will be skipped.

This functionality is hidden behind the "enable-ephemeral-apps" switch.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231272 0039d316-1c4b-4281-b951-d872f2087c98
Add array based versions of GL object creation/deletion.

BUG=309455

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231273 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 160670:160681

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=160671:160681&mode=html
TBR=
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231274 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231275 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Split the JavaScript files into subdirectories: common, background, and foreground

This is cleanup patch. No functionality should be changed.

This patch splits/moves only JavaScript files. The CSS and image files will be changed in the future patches.

BUG=309979
TEST=browser_test passes

R=hirono@chromium.org
TBR=dgozman@chromium.org
# TBRing for the renaming change.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231276 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Fix the webview whitelist along with renaming.

The previous commit r231276 renamed some javascript file of Files.app but it've broken the check_licenses test because the whitelist file has not modified. This patch modify it.

BUG=none
TEST=none
TBR=benm@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231277 0039d316-1c4b-4281-b951-d872f2087c98
Land Recent QUIC changes.

Enables the padding of QUIC handshake packets to the max packet
size. Does not pad packets which do not leave enough space to fit a
padding frame after expanding the final stream frame.  An alternative
would be to add a new type of padding frame which could show up
earlier in the packet, but this is good enough for now.

     flag to enable the padding of QUIC handshake packets to full size

Merge internal change: 55118010

Add a set_seed method to the PacketDroppingTestWriter to facilitate
reproducing test behavior.

Merge internal change: 55107501

Consistently pass the IsHandshake flag to the congestion control
algorithm in QUIC.

Merge internal change: 55046282

The goal is parity between HTTP and QUIC testing.

Merge internal change: 55000555

Fixed comments - found while back porting changes to server.

Merge internal change: 54999641

Fix bug in QuicPacketCreator's packet size calculation when a stream
frame is close to the maximum possible.

Merge internal change: 54933729

Remove unused random_reorder field from QuicPacketCreator::Options

Merge internal change: 54885136

Using GFE's IOVector to replace uses of struct iovec on the QUIC's
Write path.

Merge internal change: 54805402

R=rch@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231278 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 1684.0 to 1685.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231280 0039d316-1c4b-4281-b951-d872f2087c98
Leave apps running on Windows and Linux when quitting Chrome.

Previously, when Chrome was quit from the wrench menu or the background mode
tray icon, all browser and app windows were closed. Now, all browser windows
are closed and background mode is suspended, but apps are left running. Other
quits, such as restarts, are not affected by this change.

BUG=130457

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231284 0039d316-1c4b-4281-b951-d872f2087c98
Enable Entity Suggestions in Chrome omnibox - Part 1

Google Search Engine can provide additional details for certain suggestions to
enable more informative display, and include more specific query parameters.
This data will be available in OpenSearch format to Chrome in the (last) element
of JSON response under google:suggestdetail key. It also identifies the
suggestion with a different type (google:suggesttype).

This CL implements following changes
SearchProvider
- Parse "google:suggestdetail" JSON array and pass the data to
   AutocompleteMatch.
- For entity details, we make the following changes
     - Original suggestion from the JSON response becomes the display query,
        and is used to fill into the |contents| of the match.
     - An annotation is appended to the |contents| of the match.
     - A disambiguating query replaces the original suggestion as the "search
        terms" will be queried. It also represents the text that will be placed into the
        omnibox when the suggestion is selected. (|match.fill_into_edit|)
     - Additional query parameters are passed to SearchTermsArgs as
        |suggest_query_params|.

Since there can be multiple suggestions with the same "search terms" and different
query params, the disambiguation of suggestions is now based on the combination
of the two. (Test included.)

In case, there is a conflict between SEARCH_HISTORY suggestion and
SEARCH_SUGGEST suggestion, we try to copy over the additional query params if
the suggestions are of different type, and the lower ranked one has query
params, and the higher ranked one doesn't.  Note that if the SEARCH_HISTORY
suggestion is ranked higher, it will suppress all SEARCH_SUGGEST suggestions
with the identical query terms. 


BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231285 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Remove SystemSaltGetter::GetSystemSaltSync

Make CryptohomeClient::GetSystemSalt asynchronous

BUG=141009

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231286 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup mojo_shell and sample_app a bit

This CL contains a number of cleanups now that the structure of mojo_shell is
clearer. Specifically,

1) I've moved sample_app.cc from mojo/shell to mojo/examples/sample_app. The
   sample_app isn't part of the mojo_shell. It's an example app that runs on
   top of the shell.

2) I've merged mojo/loader into mojo/shell. Originally, I thought it would be
   better to keep the loader separate, but we had to introduce a direct
   dependency from mojo/shell to net anyway, so we might as well merge these
   two directories. We'll probably pull them apart again when we can make the
   loader into a Mojo service.

   As part of this cleanup, I've also removed the Job/JobImpl split because
   that existed only to avoid leaking net headers. This ended up simplifying
   the code a bit.

3) I've renamed mojo/shell/android/shell_apk to mojo/shell/android/apk to
   remove some of the stutter from the directory name.

4) Finally, I've added a Quit task to run.cc in the error case so that we exit
   the main loop when we hit this error instead of spinning forever. This
   change is the only behavior change in this CL.

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231287 0039d316-1c4b-4281-b951-d872f2087c98
Blink roll 160681:160697

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=160681:160697&mode=html

TBR=jsbell

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231288 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231289 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 4877.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231290 0039d316-1c4b-4281-b951-d872f2087c98
Move more things out of AppContextMenu into AppListControllerDelegate.

BUG=310376

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231291 0039d316-1c4b-4281-b951-d872f2087c98
Change the behavior of TSFTextStore::QueryInsert().

Set "*pacpResultEnd = acpTestEnd;" insterad of
"*pacpResultEnd = acpTestStart + cch;"
This is same as TsfPad (sample program in Windows SDK for Win7).

You can see more detail in http://crbug.com/309965#c2

BUG=309965
TEST=manually done on Win 8.1

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231292 0039d316-1c4b-4281-b951-d872f2087c98
Enable to switch a flag via chrome://flags

BUG=177765

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231293 0039d316-1c4b-4281-b951-d872f2087c98
Retry: Prepopulate primary origin's directory database if possible.

Before (with primary origin patch)
140~170 ms

After (excluding 1st launch for a new profile)
30~90 ms

The very first launch for a fresh profile is still slow as
it needs to go through full initialization.

BUG=306030
TEST=manual
TEST=valgrind

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231294 0039d316-1c4b-4281-b951-d872f2087c98
Enable profile pinning by setting browser window relaunch details

Make it possible to pin shortcuts by setting the relaunch data for each browser window.

BUG=177490,107080,146647
TEST=Create separate profiles and pin the taskbar icons. Clicking the pinned icons should relaunch chrome with the appropriate profile.

TBR=cpu@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231295 0039d316-1c4b-4281-b951-d872f2087c98