Refactor OmniboxViewViews::OnKeyPressed.

Refactor and cleanup OmniboxViewViews::OnKeyPressed.
Call base impl from OmniboxViewViews::OnKeyReleased.
Manual testing of each switch case yields sane behavior.

From Peter's comment in http://codereview.chromium.org/12385011 :
https://codereview.chromium.org/12385011/diff/2016/chrome/browser/ui/views/omnibox/omnibox_view_views.cc#newcode256

BUG=131660
TEST=OmniboxViewViews works well on CrOS, Win Aura, and non-Aura Win with --enable-views-textfields.
R=pkasting@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12377064

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185789 0039d316-1c4b-4281-b951-d872f2087c98
Roll WebRTC from r3561 to r3595.

r3595 fixed a critical crash on Android and 178040.

BUG=178040

Review URL: https://chromiumcodereview.appspot.com/12380053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185790 0039d316-1c4b-4281-b951-d872f2087c98
Add comboboxes to DetailOutputMap filling.

R=estade@chromium.org
TBR=sky@chromium.org
BUG=163505

Review URL: https://chromiumcodereview.appspot.com/12387057

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185792 0039d316-1c4b-4281-b951-d872f2087c98
[android_view] Add MediaPlaybackRequiresUserGesture content setting.

Also add unit test which doesn't use the poll.

BUG=b/6842070
TBR=joi

Review URL: https://chromiumcodereview.appspot.com/12224112

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

Fix a merging error in the previous checkin.

visitor_ is now a scoped_ptr so the visitor_(NULL) initializer
was removed.

Merge internal change: 43199271

More cleanups that fell out of recent Chrome merges.

Merge internal change: 43195667

Implement framing for version flag and field.

Merge internal change: 43155434

Reduce the usage of magic numbers by moving most of them to quic_protocol.h

Merge internal change: 43133922

Expose functions to calculate offsets and packet sizes from quic_protocol.h.

Merge internal change: 43123088

Various cleanups from landing recent changes in Chrome.

Merge internal change: 43060871

Moving the quic session's write blocked list over such that we won't add a given session multiple times.

Merge internal change: 42920586

Factoring our blocked list out into a separate class.

Merge internal change: 42919835

R=jar@chromium.org


Review URL: https://chromiumcodereview.appspot.com/12374030

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185797 0039d316-1c4b-4281-b951-d872f2087c98
fix building w/glibc-2.16+: use siginfo_t everywhere

This pulls in the fix already in upstream:
https://code.google.com/p/gperftools/source/detail?r=176

BUG=chromium-os:36866


Review URL: https://chromiumcodereview.appspot.com/12390048

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185803 0039d316-1c4b-4281-b951-d872f2087c98
Disable Firefox password protected profile tests on Win64 build

When reading a password protected profile, the importer loads
the NSS libraries for the currently installed Firefox. Since
those are 32-bit libraries, they fail in the Win64 build.

BUG=179688
R=isherman@chromium.org
Review URL: https://codereview.chromium.org/12387071

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185809 0039d316-1c4b-4281-b951-d872f2087c98
Support NOT including installed applist in AccountMetadataFeed.

This is preparation to implement GetAbourResource on GData WAPI.
Currently AccountMetadataFeed includes the installed app list, but it is not
used in AboutResource. By this CL, we can exclude the list from the server's
response. The new function is not used yet, and will be used in following CLs.

BUG=174237
TEST=Ran unit_tests.


Review URL: https://chromiumcodereview.appspot.com/12388042

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185810 0039d316-1c4b-4281-b951-d872f2087c98
Implement chrome.downloads.onDeterminingFilename() to allow extensions to participate in the download filename determination process.

Docs staged: http://basho.cam.corp.google.com:8000/extensions/downloads.html#event-onDeterminingFilename

Example:
chrome.downloads.onDeterminingFilename.addListener(function(item, suggest) {
  suggest({filename: item.filename, overwrite: true});
});
chrome.downloads.onDeterminingFilename.addListener(function(item, suggest) {
  window.setTimeout(function() {
    suggest({filename: item.mime.split('/')[0] + '/' + item.filename, overwrite: false});
  }, 1);
  return true;  // handling asynchronously
});

BUG=12133
BUG=68108

Review URL: https://chromiumcodereview.appspot.com/11574006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185811 0039d316-1c4b-4281-b951-d872f2087c98
[cc] Mailbox Output Surface Support

This allows to render to textures managed by the compositor,
that are sent to the browser using GL_CHROMIUM_texture_mailbox.

Needs support in the browser and
'--composite-to-mailbox' and '--enable-compositor-frame-message'.


Review URL: https://chromiumcodereview.appspot.com/12371002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185812 0039d316-1c4b-4281-b951-d872f2087c98
Disable PepperFlashCheck on Win64 build until it's supported

R=cpu@chromium.org
BUG=179716

Review URL: https://chromiumcodereview.appspot.com/12377066

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185813 0039d316-1c4b-4281-b951-d872f2087c98
Implement GetAppList on GData WAPI.

This is a part of migration from GetAccountMetadata to GetAboutResource and
GetAppList, which is designed based on the Drive API v2.
The method is not actually used yet, but will be used in following CLs.

BUG=174237
TEST=Ran unit_tests


Review URL: https://chromiumcodereview.appspot.com/12387038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185814 0039d316-1c4b-4281-b951-d872f2087c98
Revert 185709
> Set up V8 bindings for extension/app APIs when they're first used, not on
> context creation. This should gives us a significant reduction in extension/app
> startup time and slightly better memory usage.
> 
> It also gives us better error messages, the chance to complete the 
> implementation of API features, and eventually the ability to expose select
> extension APIs (e.g. extension.sendMessage) to web pages.
> 
> BUG=163678,120070,55316,177163
> TBR=ben@chromium.org
> 
> Review URL: https://chromiumcodereview.appspot.com/11571014

TBR=cduvall@chromium.org

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185815 0039d316-1c4b-4281-b951-d872f2087c98
cc: Don't display invalid frames in the delegated renderer layer.

When the delegated renderer layer is given a frame F that has a quad Q
and for which Q has a resource R that is not present in the parent
compositor, the frame F is considered a bad frame.

This can happen in three ways:
1. A misbehaving renderer sends bad resource ids.
2. A frame is given to the layer after the layer committed its last frame,
and the last frame did not include R in it. So the layer has released R.
However, the frame was sent assuming R was still present in the delegated
renderer layer.
3. A frame is given to the layer after taking R back from the layer, without
passing ownership of R back to the delegated renderer layer.

In any of these cases, the bad frame F is not used. The render passes and
quads in the frame are dropped. The resources whose ownership was passed to
the layer remain owned by the layer until a new valid frame is given. Then
any unused resources by the valid frame will have their ownership returned,
as usual.

Each of the cases are tested by new unit tests:
LayerTreeHostDelegatedTestFrameBeforeAck.runSingleThread
LayerTreeHostDelegatedTestFrameBeforeAck.runMultiThread
LayerTreeHostDelegatedTestFrameBeforeTakeResources.runSingleThread
LayerTreeHostDelegatedTestFrameBeforeTakeResources.runMultiThread
LayerTreeHostDelegatedTestBadFrame.runSingleThread
LayerTreeHostDelegatedTestBadFrame.runMultiThread

R=piman
BUG=179488

Review URL: https://chromiumcodereview.appspot.com/12381068

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185818 0039d316-1c4b-4281-b951-d872f2087c98
views: Migrate ash_shell buttons to LabelButton

BUG=155363
R=msw@chromium.org
TBR=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12390049

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185819 0039d316-1c4b-4281-b951-d872f2087c98
Add a resizable property to chrome.app.window.create()

Presently non-functional; platform-specific patches will follow in separate
CLs.

BUG=179206
R=koz@chromium.org
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12374071

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185823 0039d316-1c4b-4281-b951-d872f2087c98
Ensure that only one app in the app list is highlighted at a time.


BUG=176629


Review URL: https://chromiumcodereview.appspot.com/12388041

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