Revert 227977 "Enable GPU control lists in tests."

Broke GpuFeatureTest.Canvas2DAllowed on Vista.

> Enable GPU control lists in tests.
> 
> Reland of https://codereview.chromium.org/23534006/ (see that and the bug for more details).
> 
> Also adding INFO-level logging to spell out each control list rule being applied on the bots (makes debugging and understanding failures much easier).
> 
> R=piman@chromium.org
> TBR=jcivelli, piman, zmo
> BUG=295799, 304833
> 
> Previously Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224810
> Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=224845
> 
> Review URL: https://codereview.chromium.org/23703017

TBR=gab@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228014 0039d316-1c4b-4281-b951-d872f2087c98
Don't kill the GPU process on Chrome OS if we're not on VT1

When Chrome OS is switched to VT2, the GPU process watchdog will
eventually kick in and kill the GPU process. This would be fine,
as this is only possible in dev mode, except for the fact that
some people run dev mode and still report their crashes. This
creates a lot of noise in the crash reports, which makes finding
the real issues difficult.

To fix this, we modify the GPU watchdog to check the active tty
before killing the GPU process, and if the tty isn't 1, then we
will leave it alone, assuming that we are simply on a dev-mode
machine.

BUG=chromium:222224
TEST=switch to VT2, wait 10 seconds, switch back: the GPU process didn't get killed
TEST=crash the GPU while on VT1, the watchdog still triggers

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228015 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup frame counting code in VideoRendererBase.

Reorganizes frame counting logic to make it easier to see that it is correct
and reduces the number of calls on the statistics_cb_.

BUG=291731
TEST=All existing unit tests still pass.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228016 0039d316-1c4b-4281-b951-d872f2087c98
Move some cros settings code to chromeos/settings

BUG=270135
For numerous #include changes:
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228017 0039d316-1c4b-4281-b951-d872f2087c98
Add self to watchlist for mojo

TBR=darin@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228018 0039d316-1c4b-4281-b951-d872f2087c98
Adding UMA count for number of logical processors on Windows.

I need to merge this into m30 or even m29 so trying to find a happy place to gather this.

It can be found as Platform.LogicalCpuCount

BUG=none
TBR=sky
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228020 0039d316-1c4b-4281-b951-d872f2087c98
Fix ExtensionSet's const-input-iterator.

It subclasses std::iterator<std::input_iterator_tag, ...> and thus must respect http://www.cplusplus.com/reference/iterator/InputIterator/.

It is also a const-iterator and thus every method, but the pre/post-increments should be const.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228021 0039d316-1c4b-4281-b951-d872f2087c98
Avoid crash in OnRequestThumbnailForContextNode by not processing null pointer.

BUG=274832

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228022 0039d316-1c4b-4281-b951-d872f2087c98
Remove override_encoding from NavigateParams and OpenURLParams.

It's unused and doesn't do anything.

BUG=none
TEST=compiles

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228023 0039d316-1c4b-4281-b951-d872f2087c98
Revert 227819 "Revert 227583 "Disable image transport surface on..."

> Revert 227583 "Disable image transport surface on all windows ma..."
> 
> > Disable image transport surface on all windows machines.
> > 
> > We want to try using the direct presentation path everywhere, so blacklist texture sharing on all machines. If this works, we can delete the image transport surface code later.
> > We've made the image transport surface work even with the sandbox at full strength, so remove the code that reduces the GPU sandbox in this case.
> > 
> > BUG=304369
> > R=kbr@chromium.org
> > 
> > Review URL: https://codereview.chromium.org/26073002
> 
> TBR=jbauman@chromium.org
> BUG=304369,305621,
> 
> Review URL: https://codereview.chromium.org/26574008

TBR=jbauman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228024 0039d316-1c4b-4281-b951-d872f2087c98
Media Galleries API: Fix settings/content WebUI dialog behavior on add/delete.

Changed the dialog to observe MediaGalleriesPreferences instead of using PrefChangeRegistrar. Previously, the dialog was getting notified of an update before MediaGalleriesPreferences had a chance to update its internal state.

The 'solution' does seem to bloat the SLOC a bit, but word on the street is that this dialog is getting removed soon anyways...

BUG=305079

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228025 0039d316-1c4b-4281-b951-d872f2087c98
Support calculation of inflated bounds for rotation transform operations.

We compute the inflated bound for a rotated 3d box by computing the axis aligned
bounding boxes for the arcs described by the corners during the rotation and
taking the union of those boxes. Lots of fun math.

R=ajuma@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228026 0039d316-1c4b-4281-b951-d872f2087c98
Fix about:memory tooltip positioning.

R=arv@chromium.org
BUG=305742

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228027 0039d316-1c4b-4281-b951-d872f2087c98
Copy runtime DLLs only if the contents have changed

This is an attempt to avoid sharing violations during
create_installer_archive.py on the Win x64 bots. See linked bug for the
nitty-gritty.

R=gab@chromium.org
BUG=305877

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228028 0039d316-1c4b-4281-b951-d872f2087c98
Fixed about://performance crash when the performance-monitor-gathering flag is disabled

R=yoz@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228029 0039d316-1c4b-4281-b951-d872f2087c98
Estimate GPU latency in OutputSurface

This adds a GpuLatencyEstimate method to OutputSurface. The
estimate is computed based on recent GPU latency, found
using LatencyQueries (GL_LATENCY_QUERY_CHROMIUM). 

BUG=243459

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228030 0039d316-1c4b-4281-b951-d872f2087c98
Adds a full QWERTY layout to the Virtual Keyboard.


BUG=297772

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228031 0039d316-1c4b-4281-b951-d872f2087c98
Prevent extension side-enabling.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228032 0039d316-1c4b-4281-b951-d872f2087c98
Add support for the Pkcs11GetTpmTokenInfoForUser cryptohome call.

This call already existed but had not been added to CryptohomeClient.

BUG=chromium:205206
TEST=unit, manual

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228033 0039d316-1c4b-4281-b951-d872f2087c98
Media Galleries: Run API tests in a temp directory with an injected common.js file. Avoid the need for nested tests to share common JS code. (try 2)

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

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