bookmarks: Move drag and drop functions specific to views into c/b/ui/views/bookmarks

This moves the following functions from bookmark_utils.h to bookmark_drag_drop.h
 - BookmarkDragOperation
 - PreferredDropOperation
 - BookmarkDropOperation
 - IsValidDropLocation

In the process they were moved into chrome namespace and thus renamed to:
 - GetBookmarkDragOperation
 - GetPreferredBookmarkDropOperation
 - GetBookmarkDropOperation
 - IsValidBookmarkDropLocation

BUG=144783
R=sky@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187860 0039d316-1c4b-4281-b951-d872f2087c98
Migrate Image Loader extension's background page to an event page.

To save resources, the image loader should not stay in memory all the time, but start on demand. To do that, the background page has been converted to an event page and long living messaging has been changed to one-time requests.

TEST=Image loader extension should appear in Task Manager once Files.app is loaded and close when Files.app is closed (after some timeout).
BUG=180856


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187861 0039d316-1c4b-4281-b951-d872f2087c98
Fix Autofill UI to Select on Click, instead of Delete.

This bug was accidently introduced in r186363

R=isherman@chromium.org
BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187862 0039d316-1c4b-4281-b951-d872f2087c98
History: Show a plain banner, rather than yellow, when history sync is offline.

BUG=None


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187863 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187862
SVN changes up to revision 187863
Revert 187850 "Put a tab overlay over installing v1 apps in the ..."

Broke PreferencesBrowserTest.* on xp dbg bots, win7 dbg bots, aura bots.

Somewhat speculative, but the failing tests all have something like this:

2924:4484:0313/073213:2077246:FATAL:extension_app_item.cc(124)] Check failed: extension_misc::EXTENSION_ICON_SMALL == icon_.width() (32 vs. 0)
Backtrace:
base::win::OSInfo::processors [0x10082461+467580]
base::win::OSInfo::processors [0x100DAE9E+830649]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x0378D9FF+13984735]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x0378D4D8+13983416]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x0368EA9D+12940413]
content::Stream::url [0x0CCC03E3+5571221]
(No symbol) [0x0124E69E]
(No symbol) [0x01253153]
(No symbol) [0x0125486F]
(No symbol) [0x01253DA2]
(No symbol) [0x01254307]
(No symbol) [0x0146B6B5]
(No symbol) [0x0146AECC]
(No symbol) [0x0146BFA3]
(No symbol) [0x0146EB0B]
(No symbol) [0x0146EABA]
(No symbol) [0x0146EA3A]
PrefService::RemovePrefObserver [0x0A3DFC3F+312458]
PrefService::RemovePrefObserver [0x0A3DF27B+309958]
PrefService::RemovePrefObserver [0x0A3E5542+335245]
PrefService::RemovePrefObserver [0x0A3E54F5+335168]
PrefService::RemovePrefObserver [0x0A3E5462+335021]
PrefService::RemovePrefObserver [0x0A3DBA0C+295511]
PrefService::RemovePrefObserver [0x0A3DF24B+309910]
PrefService::RemovePrefObserver [0x0A3B2126+125297]
PrefService::RemovePrefObserver [0x0A3B1B52+123805]
PrefService::RemovePrefObserver [0x0A3DABA2+291821]
PrefService::RemovePrefObserver [0x0A3DB6E3+294702]
PrefService::RemovePrefObserver [0x0A3DA384+289743]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02AF208F+764527]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02AF1BBD+763293]
(No symbol) [0x0205AB30]
(No symbol) [0x02067F73]
(No symbol) [0x02067C87]
(No symbol) [0x02067A58]
base::win::OSInfo::processors [0x1005E94F+321386]
base::win::OSInfo::processors [0x100E6CC3+879326]
base::win::OSInfo::processors [0x100E71B4+880591]
base::win::OSInfo::processors [0x100E8076+884369]
base::win::OSInfo::processors [0x100FBB44+964959]
base::win::OSInfo::processors [0x100FAC92+961197]
base::win::OSInfo::processors [0x1002811C+98103]
base::win::OSInfo::processors [0x100E6809+878116]
base::win::OSInfo::processors [0x100E655E+877433]
base::win::OSInfo::processors [0x10162DA9+1387460]
(No symbol) [0x018AC3B3]
(No symbol) [0x018ACE9E]
(No symbol) [0x018AEE90]
(No symbol) [0x018AE6E5]
(No symbol) [0x018B056C]
(No symbol) [0x018B08A5]
(No symbol) [0x00DF8892]
(No symbol) [0x00DFC6ED]
(No symbol) [0x01197A02]
(No symbol) [0x0192311E]
(No symbol) [0x019236DB]
(No symbol) [0x019236AA]
(No symbol) [0x01923665]
(No symbol) [0x004E9DBF]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02A3B03F+14879]
RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x02A38C77+5719]
(No symbol) [0x02434F36]

> Put a tab overlay over installing v1 apps in the app launcher.
> 
> 
> BUG=179300
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/12508011

TBR=koz@chromium.org
Review URL: https://codereview.chromium.org/12643009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187870 0039d316-1c4b-4281-b951-d872f2087c98
cc: Chromify the LayerTreeHost class.

Style-only change. Make the LayerTreeHost class use chromium style.

Depends on: https://codereview.chromium.org/12774006/

TBR=piman

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187871 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187871
Properly disable gesture requirement for media playback on GoogleTV.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187872 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix background filters with non-zero offsets.

The layout tests for background filters all use a render surface
positioned at 0,0. If a non-0 offset is used, the filter path would
copy the texture with the wrong transform into the "background
texture" and miss it entirely.

This adds a pixel test for background filters:
GLRendererPixelTestWithBackgroundFilter.InvertFilter

R=jamesr
BUG=161936
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187873 0039d316-1c4b-4281-b951-d872f2087c98
Do not push properties that are animated on impl only.

We currently avoid pushing properties when the main thread layer indicates that
it is animating. This code was incorrectly left behind after we started
animating on the main thread. Recently, we've added support for impl-only
animations. We should never push during one of these animations.

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187875 0039d316-1c4b-4281-b951-d872f2087c98
Reorder panels in the launcher when dragging the panel window.

BUG=172254
TEST=PanelWindowResizerTest.DragReordersPanels*


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187876 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187876
Extend the suppression for issue 159191 (leaks in media::FakeVideoCaptureDevice::OnCaptureTask)
Suppress the leaks introduced by r187572 (issue 189170)
Suppress the leaks in ProfileSigninConfirmationDialog test (issue 189194)

BUG=159191,189170,189194
TBR=thakis
Review URL: https://codereview.chromium.org/12833003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187877 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187878
cc: Chromify IOSurfaceLayer

R=danakj@chromium.org
TBR=ananta@chromium.org
BUG=none


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187879 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187879
Fix managed mode strings

Updated some strings so that they fit the current functionality better.

BUG=171370
R=pam@chromium.org
NOTRY=true


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187880 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 187880