cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation

This change switches all of the remaining RenderingStats collection in
composited mode to use RenderinStatsInstrumentation.

BUG=181319


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190817 0039d316-1c4b-4281-b951-d872f2087c98
[Mac][MC] Create a view controller responsible for the basic layout of a notification.

This UI is not visible at all at the moment since no window hosts this view.

BUG=179904


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190818 0039d316-1c4b-4281-b951-d872f2087c98
Increase the RenameFile time out from 500ms to 1s.

Data shows that some calls are first succeeding even at 500ms.

BUG=222853


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190819 0039d316-1c4b-4281-b951-d872f2087c98
Don't show ProfileSigninConfirmationDialog in the constructor.

Depending on threading and such the dialog sometimes tries to display in
unit tests.  This doesn't crash anything but it's kind of ugly, so now
the dialog isn't shown until Show() is called explicitly.

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190820 0039d316-1c4b-4281-b951-d872f2087c98
Revert 190817 "cc: Switch RenderingStats collection in Layer::Up..."

> cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation
> 
> This change switches all of the remaining RenderingStats collection in
> composited mode to use RenderinStatsInstrumentation.
> 
> BUG=181319
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/12426024

TBR=egraether@chromium.org
Review URL: https://codereview.chromium.org/13117002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190826 0039d316-1c4b-4281-b951-d872f2087c98
Presubmit script to validate changes made to extension_function_histogram_value.h

The script performs a few checks
* The source file is not deleted (if it was, the script would be meaningless)
* Existing |HistogramValue| enum entries are not deleted
* New |HistogramValue| enum are added at the _end_ of the enum definition

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190827 0039d316-1c4b-4281-b951-d872f2087c98
SyncFS: Force cancelling uploads when network goes offline

When network becomes disconnected during uploading files
URLFetcher seems to get stuck (at least on Mac).

- To avoid this this patch forces cancelling ongoing uploads by
  resetting drive_uploader_ on network disconnect event.
- During uploads DriveFileSyncClient keeps uploader callbacks
  (rather than passing them to the uploader) so that killing the uploader
  doesn't cause unexpected TaskToken loss.

BUG=223818
TEST=manual (see bug description)


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190828 0039d316-1c4b-4281-b951-d872f2087c98
[Clean up] Drop chrome::search:: namespace.

Drop the chrome::search:: namespace, but retain chrome:: for only enums and global functions.  Regular classes would be namespace free.

BUG=218625
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190829 0039d316-1c4b-4281-b951-d872f2087c98
fix dragging from omnibox text to desktop on win aura

The LINK style of drag was not getting added for the views implementation, and when that's added, the title/favicon were not getting extracted.

Add notification to TextfieldController to allow Omnibox to do so.

BUG=223233


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190830 0039d316-1c4b-4281-b951-d872f2087c98
Removed 'show full history' from navigation popup. Cleaned up associated dead code.
BUG=222282


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190831 0039d316-1c4b-4281-b951-d872f2087c98
Updated attestation flow to conform with new DBUS interface.

The cryptohome DBUS interface has changed.  This CL updates
CryptohomeClient, AsyncMethodCaller and AttestationFlow accordingly.

BUG=chromium-os:39830
TEST=chromeos_unittests


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190832 0039d316-1c4b-4281-b951-d872f2087c98
Show user data dialog earlier on Windows.

On Windows if the user data directory does not exist, we must show the user
data dir picker dialog prior to creating the local state to avoid a CHECK
failure. After obtaining the new dir we will restart chrome with the switch
--user-data-dir appended to the command line.

BUG=196301
TEST=CQ


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190833 0039d316-1c4b-4281-b951-d872f2087c98
Fix the problem that stacked panels do not adjust correctly on display change

The change is to fix a typo in StackedPanelCollection::OnDisplayChanged.

BUG=223618
TEST=Updated test
TBR=dimich@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190834 0039d316-1c4b-4281-b951-d872f2087c98
Fix MMAP_LIST in dumps by deep-heap-profile.

bucket_id in MMAP_LIST was wrong (only 0).
This change fixes the issue by changing the scope and the oparation order.

BUG=181517
TBR=glider@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190835 0039d316-1c4b-4281-b951-d872f2087c98
Implement API features for the Extension API feature system

Now features can be declared in the _api_features.json file, and dependencies
of the form "api:<api_name>" will refer to these features.

This patch also prevents schemas for APIs using the feature system from being
loaded when calling ExtensionAPI::IsAvailable().

TBR=ben@chromium.org
BUG=55316, 120070


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

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

WGC3DInProcessCommandBufferImpl will be used in Android WebView synchronous
draw artchitecture, where directl GL calls can be made only inside the android
GL draw functor.

This patch moves the Intialize logic of WGC3DInProcessCommandBufferImpl to
makeContextCurrent, so the initilization GL calls are delayed until inside
the GL draw functor. This also allows WGC3DInProcessCommandBufferImpl to be
created on one thread and be used on a different thread where it is made
current. This is a requirement for using it in threaded compositor.

Exposed problem that DumpRenderTree uses WGC3DInProcessCommandBufferImpl with
shared resources on both main and compositor thread. The g_decoders_lock was
not adaquately protecting the decoders and WeakPtrs are are used on a single
thread only. Fix by expanding operations protected by g_decoders_lock and
calling by calling DetachFromThread on all decoders, to maintain the
invariant that no decoder are bound to any thread while the lock is not held.

Also some clean ups:
Remove the parent view context param. NULL is passed in everywhere.
Make the attribute param const ref.
Folded Initialize into constructor.

BUG=179436

First landed in r189820.
Reverted in r189975 due to layout test DCHECK failure.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190837 0039d316-1c4b-4281-b951-d872f2087c98
Display media galleries handlers in the action choice dialog.

Besides predefined actions, media gallery handlers should be displayed on the action choice list. Moreover, they should be rememberable.

TEST=Not used in production yet. Tested manually.
BUG=222565


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190838 0039d316-1c4b-4281-b951-d872f2087c98
[Android_WebView] Implement WebChromeClient.getDefaultVideoPoster.

Intercept the defaultVideoPoster request and return the poster from AwContents.getDefaultVideoPoster();

BUG=http://b/6294871


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190840 0039d316-1c4b-4281-b951-d872f2087c98
Fixing TODO in autofill_agent.cc.

Currently, too many IPCs are being set from FocusedNodeChanged in AutofillAgent. This limits sending the IPCs to when the current page is on the Autocheckout whitelist.


BUG=


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

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