Updating trunk VERSION from 1687.0 to 1688.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231986 0039d316-1c4b-4281-b951-d872f2087c98
Pickle::Write* micro-optimizations

Pickle is hot in some benchmarks. This helps by reworking WriteBytes in a few of ways:
1- Fold BeginWrite and EndWrite into WriteBytes since it's the only caller now.
2- keep track of the write offset, always aligned, separately, so that we can do alignment checks on the field sizes rather than the payload size (for next point).
3- provides a template version of WriteBytes with specializations for predefined sizes, that inline/optimize away alignment checks, padding, and memcpy.
4- change the meaning of capacity_ to not take the header size into account. This simplifies some arithmetic.

BUG=307480
R=jar@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231987 0039d316-1c4b-4281-b951-d872f2087c98
Parse out XSSI guards in Suggestion JSON response

For personalized suggestions in Suggest response, there is a desire for
additional security. In particular, there will be XSSI guards to prevent (well)
XSSI.

We are taking the approach of assuming that XSSI guards will always be there,
and just try to parse it out by looking for the start of valid sugggestion
response. Since the suggestion response is supposed to be a JS array, we look
for "[" in the response. And we repeat the search, in case the XSSI guard
contains "[".

BUG=312458

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231989 0039d316-1c4b-4281-b951-d872f2087c98
Allows chrome://app-list/ to recognize speech.

BUG=312365
R=xiyuan@chromium.org, tommi@chromium.org
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231990 0039d316-1c4b-4281-b951-d872f2087c98
Remove monotonic timestamp requirements for audio. Fix messaging.

This is hurting more than it's helping:
- We see almost weekly reports of broken playbacks.
- Most of these playbacks are broken due to odd ffmpeg decoding and
not actual out of sync packets.
- We don't even use the timestamp value anymore.  Instead timestamps
are calculated based on the amount of audio decoded.

In most cases there's not even a detectable audio glitch.  Even if
there is, it's not worth destroying the entire playback.

The long term worry is that by ignoring these errors we'll see AV
sync issues.  Almost every reported issue is for audio only though.

BUG=153229,175281
TEST=Files with weird timestamps play correctly.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231991 0039d316-1c4b-4281-b951-d872f2087c98
Work around issue seen in Linux GTK where some tabs have no text.

This issue is not always present; it seems to only manifest itself on
Ubuntu 13.10 with certain video card drivers.

To work around this, use the Skia Canvas text rendering for tabs,
instead of the Pango one.

BUG=123104

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231992 0039d316-1c4b-4281-b951-d872f2087c98
Changed the user log in selection while the log in screen is shown

So - after talking with designers here is how it should be: Show only the one user which is active and don't show the "add user button" upon click. Furthermore show all users in the system tray but do not make them clickable.

BUG=313036
TEST=visual (multi profile mode, add one and two users and checked appearance as well as UX)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231993 0039d316-1c4b-4281-b951-d872f2087c98
Propagate hover event to parent.

Make sure ContentView propagates onHoverEvents to View.java as that does some
accessibility focus and processing.

BUG=175221

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231994 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup sanitize build sed and sh scripts.

Minor cleanup:
* switch regexes to extended regexes,
  which remove a few gratuitous backslashes
  (and makes them less confusing, since basic regexes are so rarely used)
* fix . -> \. (which *does* need escaping in either case)
* make sed files non-executable,
  since if executed they just say "don't execute this"
* delete blank line

(Just noticed these scripts when working on Blink IDL bindings, and made
 necessary fixes for my changes, but cleaning up while I'm here.)

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

R=scottbyer@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231995 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash when importing an Ethernet config on about://net-internals.

Chrome crashes if Shill's ConfigureServiceForProfile is called for Ethernet.
Fix this for the user import from net-internals and DCHECK on the network type before calling to Shill.

Note that currently there isn't anythin interesting to import for Ethernet. The only interesting settings are Proxy settings which are currently not supported at all by the import.

BUG=308689

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231996 0039d316-1c4b-4281-b951-d872f2087c98
Add caching for apps list search results.
Add the ability to cache results across searches and sessions for any searches for either people or webstore.

R=xiyuan@chromium.org
BUG=295163

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231997 0039d316-1c4b-4281-b951-d872f2087c98
Suppress leaks in AppListModelTest

TBR=stevenjb@chromium.org
BUG=313521

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231998 0039d316-1c4b-4281-b951-d872f2087c98
[Files.app] Record metrics in the suggest apps dialog

To record metrics, this patch introduces some additional state. This should not change anything functionally.

BUG=307342
TEST=manually tested
R=isherman@chromium.org, mtomasz@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231999 0039d316-1c4b-4281-b951-d872f2087c98
Fix zoom bubble focus theft.

BUG=273116

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232000 0039d316-1c4b-4281-b951-d872f2087c98
Allow chrome.app.window alwaysOnTop property in stable

Removed dev channel restriction, allow the alwaysOnTop property in M32 stable.

BUG=171597
TEST=Test all OSes using Window State sample app. 
Create windows with the alwaysOnTop option enabled, as well as changing the 
property using the setAlwaysOnTop() API function after window creation.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232001 0039d316-1c4b-4281-b951-d872f2087c98
Cancel autoclick when user presses a button or performs a gesture.

BUG=312560, 312562
TEST=added unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232002 0039d316-1c4b-4281-b951-d872f2087c98
[webcrypto] Refactor to allow for unspecified "algorithm" to importKey().

BUG=245025

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232003 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 232001
SVN changes up to revision 232003
Fixes possible use after free in ConflictingModuleViewWin

The problem happens if during ToolbarView::Init() we attempt to show a
bubble in ConflictingModuleViewWin. ConflictingModuleViewWin uses
ToolbarView::app_menu_->GetWidget() as the parent of the bubble. If
app_menu_ is not added at the time we attempt to show the bubble, then
GetWidget() returns NULL and the bubble is not parented to the
browser. This leads to a situation where the browser can be closed
before the bubble, so that when ConflictingModuleViewWin attempts to
use the browser it has since been destroyed.

BUG=309784
TEST=see bug
R=pkasting@chromium.org

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

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