Delete long-expired GlobalSdch field trial.

BUG=229940

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202728 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser: Remove unnecessary entries from DEPS files.

After recent refactorings chrome/browser/api and a few chrome/browser/profiles/
includes are not necessary anymore. c/b/api was removed in r195919 by Peter and
some c/b/profiles/ were moved in r201167 by Pawel.

BUG=138280,144783, 140037, 144050, 146851, 233552
TEST=checkdeps.py passes.
R=joi@chromium.org, thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202729 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Do not use the sandbox for layout tests.

Recently layout tests changed to use content_shell instead of DRT. Content_shell attempts to use the sandbox if it can, and that made the Valgrind layout test bot unhappy. All other Valgrind bots disable the sandbox, and layout tests should too.

TBR=timurrrr@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202732 0039d316-1c4b-4281-b951-d872f2087c98
Generate tap gesture with tap_count = 3 for triple-tap

This is to make triple-tap select a paragraph.

BUG=236402
TEST=triple-tap on a paragraph and make sure the whole paragraph is
     selected.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202735 0039d316-1c4b-4281-b951-d872f2087c98
Revert 202363 "cc: Cancel and re-prioritize worker pool tasks."

> cc: Cancel and re-prioritize worker pool tasks.
> 
> This adds a task graph interface to the worker pool and
> implements a simple queue instance of this interface for
> use by the tile manager.
> 
> The task graph interface can be used describe more
> complicated task dependencies in the future and
> provides the immediate benefit of seamlessly being
> able to cancel and re-prioritize tasks.
> 
> BUG=178974
> 
> Review URL: https://chromiumcodereview.appspot.com/14689004

TBR=reveman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202736 0039d316-1c4b-4281-b951-d872f2087c98
Fix app gl state restore

GL_ARRAY_BUFFER and GL_ELEMENT_ARRAY_BUFFER could definitely be
non-zero, as seen in testing. So always restore 0. Also move them to the
last things to be restored. This patch seem to be helping a lot with not
destroying app UIs.

BUG=230195
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202737 0039d316-1c4b-4281-b951-d872f2087c98
Fix keyboard navigation in app launcher (OSX)

This causes left/right to page flip on boundary and up/down to do nothing. This
patch also makes out of bounds selections on the last page snap to the last
available item instead of not switching page.

This patch updates the OSX app launcher to be consistent with revision 200812.

BUG=237092

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202738 0039d316-1c4b-4281-b951-d872f2087c98
Add help button to app launcher.

Goes to https://support.google.com/chrome/?p=cws_app_launcher.

BUG=225068

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202740 0039d316-1c4b-4281-b951-d872f2087c98
Disable DND tests failing on Win64 build

BUG=244605
R=sky@chromium.org
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202741 0039d316-1c4b-4281-b951-d872f2087c98
Disable remaining plugin test failures for Win64 build

These all pass locally, but they fail on the bots.
BUG=180861
R=piman@chromium.org
TBR=piman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202742 0039d316-1c4b-4281-b951-d872f2087c98
BrowserContext should simply own DownloadManager

This patch changes BrowserContext so it store a DownloadManager
directly (as UserData), instead of storing a refptr to it.

Client code (mostly tests) that used refptrs was changed to use either
raw pointers or to use scoped_ptr/ScopedVector in case of
DownloadManagers created by it.

The Bind() in DownloadManagerImpl::CheckForFileRemoval() is now using
a weak pointer to itself.

BUG=237871
TEST=content_unittests and {unit,browser}_tests with *Download* and *SavePage*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202743 0039d316-1c4b-4281-b951-d872f2087c98
Change ComponentLoader::AddOrReplace to return an empty string on failure.

The function's signature states it returns a std::string, so it shouldn't
NULL on failure. This is also consistent with the other Add functions.

TEST=unit test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202744 0039d316-1c4b-4281-b951-d872f2087c98
This patch fixes following compilation introduced by r202702 on VS2012

d:\src\w\crbk\src\chrome\nacl\nacl_listener.cc(149) : error C2220: warning treated as error - no 'object' file generated
d:\src\w\crbk\src\chrome\nacl\nacl_listener.cc(149) : warning C4703: potentially uninitialized local pointer variable 'ipc_fd' used

NOTRY=true
TBR=ncbray@chromium.org
BUG=n/a

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202745 0039d316-1c4b-4281-b951-d872f2087c98
Fixed reporting of PrintPreview.PageCount.PrintToCloudPrintWebDialog.
Removed unused code path and moved counting to proper location.
Added counter native printing code, because native dialog on ChromeOS is actually Cloud Print Web Dialog.

BUG=244059

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202746 0039d316-1c4b-4281-b951-d872f2087c98
Only clear script objects during PPAPI WebPluginImpl teardown if it was initialized.

BUG=244572,152006

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202747 0039d316-1c4b-4281-b951-d872f2087c98
Revert 202729 "chrome/browser: Remove unnecessary entries from D..."

This breaks 'git cl upload'.

> chrome/browser: Remove unnecessary entries from DEPS files.
> 
> After recent refactorings chrome/browser/api and a few chrome/browser/profiles/
> includes are not necessary anymore. c/b/api was removed in r195919 by Peter and
> some c/b/profiles/ were moved in r201167 by Pawel.
> 
> BUG=138280,144783, 140037, 144050, 146851, 233552
> TEST=checkdeps.py passes.
> R=joi@chromium.org, thestig@chromium.org
> 
> Review URL: https://codereview.chromium.org/16072002

TBR=tfarina@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202748 0039d316-1c4b-4281-b951-d872f2087c98
Support for ozone graphics in content.

BUG=178543

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202749 0039d316-1c4b-4281-b951-d872f2087c98
Change RulesRegistryService to use ProfileKeyedAPI.

BUG=179951

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202751 0039d316-1c4b-4281-b951-d872f2087c98
Relanding "chrome/browser: Remove unnecessary entries from DEPS files."

After recent refactorings chrome/browser/api and a few
chrome/browser/profiles/
includes are not necessary anymore. c/b/api was removed in r195919 by Peter
and
some c/b/profiles/ were moved in r201167 by Pawel.

BUG=138280,144783, 140037, 144050, 146851, 233552
TEST=checkdeps.py passes.
TBR=joi@chromium.org, thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202752 0039d316-1c4b-4281-b951-d872f2087c98
Prevent pop-up bubbles for managed networks from being clipped

In the network list on the settings page, the pop-up bubble for a managed
network has that network's list entry as its parent. The list entry must
allow overflow to be visible so that the bubble does not get clipped.

BUG=243659
TEST=Manual

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

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