Move preferred scrollbar style preference change listening from renderer to browser, 2 of 3.

This adds the preference observer to the browser and starts sending the
parameter to the renderer over IPC when it changes. Blink will not use this
until part 3 lands.

BUG=306348

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

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

Rename a confusingly-named pref.

BUG=none
TBR=rsimha@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246636 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246636
Workaround for a bad type cast in BrowserAccessibilityManagerTest.TestMoveChildUp

BUG=235508
R=dmazzoni@chromium.org, siggi@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246640 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246640
Work around linux kernel bug by interpreting IPv6 "Preferred Lifetimes" of 0 as implying the address is deprecated.  This avoids spurious network changed signals on linux by ignoring more duplicate messages by canonicalizing them before matching them.

BUG=268042
TEST=net_unittests --gtest_filter=AddressTrackerLinuxTest.DeprecatedLifetime

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246641 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246641
Fix incorrect assumption in IDMap and SmallMap tests.

Some of the tests assumed that base::hash_map is ordered, which it is not. They
worked under libstdc++, but broke in libc++ builds.

BUG=327334
R=thakis@chromium.org, brettw@chromium.org
TEST=base_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246644 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246644
Makes dragging all the tabs in a maximized window restore it

On windows we were previously letting the OS do it, but this leads to
some problems with the tabs not resizing. Fix is to enable the
ash code path. Additionally I'm making revert go back to maximized in
this case.

BUG=333788
TEST=see bug
R=varkha@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246646 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246646
Fix NULL deref in SelectFileDialogImpl when a NULL filter is provided.
According to the documentation, NULL is a valid value but the code
wasn't consistently checking for it.

BUG=337068
TEST=See repro steps in the bug.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246647 0039d316-1c4b-4281-b951-d872f2087c98
Mojo: Make the bindings generator able to dynamically load a generator.

Notes:
- Currently --generators=.../generators/mojom_cpp_generator.py won't
  work; the python module path won't be right for it to just do "import
  mojom" (etc.). Instead, an explicitly-specified generator would have
  to do something like "from generators import mojom".
- @UseJinja's path_to_template argument is now relative to the directory
  containing the *caller's* file (i.e., the generator's file), not the
  directory containing template_expander.py.

Still to do:
- Factory out the generator "library" files to a separate directory,
  away from specific (e.g., C++) generators. (Maybe move all the
  libraries into a pylib/ directory, and add that directory to the
  module path.)
- Make it so that --generators=.../mojom_cpp_generator.py works as
  expected.

R=davemoore@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246649 0039d316-1c4b-4281-b951-d872f2087c98
mac: Fix a bug that prevented bookmark drag-and-drop.

In scenarios where a bookmark folder contains so many items that not all can be
simultaneously shown (the rest are hidden beneath the fold and can be accessed
by a black down arrow), attempting to drag-and-drop would always fail. This is
because the cursor's position was being passed in as window coordinates, but
was being used as if it were in local coordinates. As a result, attempting to
hover over a bookmark folder would fail to expand the folder. Instead, another
folder would be expanded. If that folder was below the fold, then the user
would not see any folder expansion. Furthermore, users would not be able to
drop the bookmark onto the desired folder.


BUG=132850
TEST=Make sure the bookmark bar is showing. Create a folder under Bookmarks Bar
called 'temp'. Inside of 'temp', create ~150 subfolders called 'temp2'. When
you click on 'temp' in the bookmark bar, there should be so many items that
only the top items show up (the bottom items are beneath the fold and can be
accessed by a black down arrow). Now try to drag-and-drop a bookmark into one
of the 'temp2' folders.  Prior to this change, it would be impossible to drop
the bookmark into the 'temp2' folder. After this change, drag-and-drop should
work as expected.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246650 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 246650
Uprev polymer to 0.1.3 (attempt #2)

BUG=334022

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

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

http://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=165575:165641&mode=html
TBR=
BUG=

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

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

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