Convert remaining WebContentsObservers loading callbacks to use RFH.

Fix several WebContentsObserver implementations that are incorrectly
caching only frame routing IDs in order to act only on that frame in
later callbacks. Frame routing IDs by themselves are not suitable for
identity comparisons, since they are only unique within a given
RenderProcessHost.

Also clean up WebContentsObservers with a redundant WebContents
field. By definition, a WebContentsObserver must know which
WebContents it's observing, so there's no need for derived classes
to maintain their own WebContents field.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282043 0039d316-1c4b-4281-b951-d872f2087c98
Gallery.app: Update the ribbon control when the item is inserted.

The CL also fixes the insertion position of the new item, so that the new item
is inserted behind of the existing selected item.  Previously the image item is
inserted ahead of the selected item. It changes the index of the selected item,
and it causes the inconsistency between the selected index and the selected
item.

BUG=392055
TEST=manually

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282044 0039d316-1c4b-4281-b951-d872f2087c98
net-internals: Fallback debug log store when non-native path is download target.

Download destination on Chrome OS may be a virtual path that
needs to be acccessed via JavaScript FileSystem API. As a work around,
when such a path is set, fall back to the initial default directory
that is always a native local location.

BUG=381575

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282045 0039d316-1c4b-4281-b951-d872f2087c98
Include stlport through -isystem instead of -I.

Enables removing a TODO and is needed for the bug linked below.

(Doesn't work for the webkit build for some reason, but that's currently
not built with clang anyhow.)

BUG=381053
R=cjhopman@chromium.org
TBR=brettw@chromium.org
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280406

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282046 0039d316-1c4b-4281-b951-d872f2087c98
Remove a stale LSan suppression.

The leak no longer reproduces.

BUG=285174
TBR=danakj@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282047 0039d316-1c4b-4281-b951-d872f2087c98
[fsp] Fix crash because of calling net::GetMimeTypeFromFile on UI thread.

This patch fixes the issue by calling net::GetMimeTypeFromFile on the blocking
pool.

TEST=unit_tests: *FileHandlersMimeUtilTest*"
BUG=392072

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282048 0039d316-1c4b-4281-b951-d872f2087c98
Remove deprecated OmniboxSuggestion constructor.

BUG=375482

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282049 0039d316-1c4b-4281-b951-d872f2087c98
Add accessibility_unittests and chromevox_tests to buildbot config.

accessibility_unittests should run everywhere except iOS. It's small and
very fast.

chromevox_tests is only for Chromium OS.

BUG=322537
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280566

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282050 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix slow LayerTreeHostAnimationTest

This fixes LayerTreeHostAnimationTestAnimationsAddedToNewAndExistingLayers
whose single-thread versions were taking 4 seconds, since they couldn't
finish until there were no longer any running animations (in 
single-thread mode, having running animations means continually having
pending commits).

This removes the running animations, allowing the test to finish.

BUG=None

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282051 0039d316-1c4b-4281-b951-d872f2087c98
exclude NodeObserverTest.Order from mojo_view_manager_lib_unittests on Dr.Memory bot

TBR=ben@chromium.org
BUG=392485

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282052 0039d316-1c4b-4281-b951-d872f2087c98
Updating trunk VERSION from 2085.0 to 2086.0

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282054 0039d316-1c4b-4281-b951-d872f2087c98
[Telemetry] Make enable/disable macros match previous chromium.perf configs.

BUG=392484
NOTRY=True
NOTREECHECKS=True
TBR=zty@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282061 0039d316-1c4b-4281-b951-d872f2087c98
Mac VideoCapture: return empty GetModel() for non-USB non-built-in cameras.

This CL adds support for storage of the camera connection
information in the devices' names enumeration and subsequently
in the VideoCaptureDevice::Name structure.

-[AVCaptureDevice transportType] indicates the connection type 
to the camera: USB, Built-in, PCI, etc. Note that this info is only 
available for AVFoundation API and not for QTKit. 

Chromium style check forces to move complex constructors
and destructors from video_capture_device.h to .cc.

TEST: Verify that the FaceTime Built-in HD (USB) used in 
MBA >=2013 does not show incorrect modelID and vendorID
in the camera name -- those fields should be empty since
they only exist for USB or built-in cameras..

BUG=336651

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282063 0039d316-1c4b-4281-b951-d872f2087c98
Change HistoryService::ScheduleAutocomplete interface
    
    Change HistoryService::ScheduleAutocomplete interface to take
    a base::Callback<void(HistoryBackend*, HistoryDatabase*)> and propagate
    to HistoryBackend::ScheduleAutocomplete and to the client.
    With this change HistoryService and HistoryBackend no longer need to be
    aware of the HistoryURLProvider and HistoryURLProviderParams.
    
    BUG=374728
    TEST=unit_tets --gtest_filter=History*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282064 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r13452 -> r13456

This pulls in the following Native Client changes:

r13453: (noelallen) Create GN files for trusted source libraries.
r13454: (dyen) Added support for uploading log urls when uploading toolchain packages.
r13455: (dyen) Updated some documentation for the package_version files.
r13456: (dschuff) Give the minidump_generator_lib gyp rule a shorter name

BUG=none
TEST=browser_tests and nacl_integration
CQ_EXTRA_TRYBOTS=tryserver.chromium:linux_rel_precise32,linux_arm_cross_compile,linux_nacl_sdk_build
R=binji@chromium.org

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282067 0039d316-1c4b-4281-b951-d872f2087c98
Skia roll 6815011:874a62a

https://skia.googlesource.com/skia/+log/6815011292f0a130db2b35ca0f862b246769f3b8..874a62acef5ec2ecccdbb99ec4d86402a3341e6a

CQ_EXTRA_TRYBOTS=tryserver.chromium:linux_layout_rel
TBR=jcgregorio@google.com
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282069 0039d316-1c4b-4281-b951-d872f2087c98
Fix default video decoder issue

On Android there is no software fallback for the video decoder.  Disable the
fallback path and remove the dependencies.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3032
R=bbudge@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282070 0039d316-1c4b-4281-b951-d872f2087c98
Add rockot to extensions OWNERS.

BUG=None
NOTRY=True
R=kalman@chromium.org

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

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