Fix RenderWidgetHostViewAura's accessible parent.

views::WebView returns the accessible object from
RenderWidgetHostViewAura as its own accessibility
object. Hook up the reverse direction so that the
accessible parent of RenderWidgetHostViewAura is
the accessible object from the parent of the WebView.

BUG=175156


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189195 0039d316-1c4b-4281-b951-d872f2087c98
SPDY - Fix for crash bug with CloseIdleConnections invalidating the iterator.

BUG=181400
R=rch
TEST=net unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189196 0039d316-1c4b-4281-b951-d872f2087c98
Introduce AudioHash for fuzzy audio matching.

The old MD5 approach is too strict due to differences in floating
point implementations on each platform.  AudioHash provides a simple
algorithm for ensuring signals are within roughly -40 dBFS.

BUG=168204
TEST=media_unittests on Linux && Win.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189197 0039d316-1c4b-4281-b951-d872f2087c98
[Android Payments] Adding selected index to UpdateSelection call.

Adding an index of the selected menu item for the UpdateSection call.

BUG=177382
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189198 0039d316-1c4b-4281-b951-d872f2087c98
Disable touch calibration on external touchscreen.

Move CalibrateTouchCoordinates() code from events_x.cc into
TouchEventCalibrate::Calibrate() and call it from
RootWindowHostLinux::DispatchXI2Event() only on internal display.

This changes the order in handling of a touch event.
Used to be: 1. Calibrate, 2. Find matching window, 3. Relocate to window origin
Now: 1. Find matching window, 2. Relocate, 3. Calibrate with matching window

This change in order:
a) Makes finding matching window simpler and faster.
b) Makes calibration more correct, since matching window bounds are used.
To make the calibration even more correct,
calibration parameters have to be adjusted for non-native resolutions.

BUG=171310,147605
TEST=Make sure touches are positioned correctly on internal and external
     displays in single, extended desktop and mirror modes,
     and when switching primary display.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189200 0039d316-1c4b-4281-b951-d872f2087c98
make control bubble opaque

BUG=181395
TEST=manual test


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189201 0039d316-1c4b-4281-b951-d872f2087c98
Use ScopedGObject<GtkWidget> for web contents modal dialog users' GtkWidgets

With the recent changes to the web contents modal dialogs on Gtk, the
dialog contents classes may no longer be the last entities holding a
reference count on their GtkWidgets.  Replace ui::OwnedWidgetGtk with
ScopedGObject<GtkWidget>::Type so that the GtkWidgets get destroyed
without DCHECKing the no-longer-valid condition.

BUG=222169


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189202 0039d316-1c4b-4281-b951-d872f2087c98
Add optional 'promptText' parameter to DevTools Page.handleJavaScriptDialog.

If specified, this prompt text should be used when accepting a prompt dialog.
BUG=chromedriver:246


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

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

net_unittests has been timing out spuriously around the time this was checked-in, rolling-back to see if it is related (see http://crbug.com/222298 for details).

> SPDY - Fix for crash bug with CloseIdleConnections invalidating the iterator.
> 
> BUG=181400
> R=rch
> TEST=net unittests
> 
> Review URL: https://chromiumcodereview.appspot.com/12918014

TBR=rtenneti@chromium.org
Review URL: https://codereview.chromium.org/12440056

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189206 0039d316-1c4b-4281-b951-d872f2087c98
mac: Fix the two remaining OS_MACOSX misspellings from shess's mail

BUG=none
TBR=shess

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189207 0039d316-1c4b-4281-b951-d872f2087c98
Add MODIFY_AUDIO_SETTINGS permission in Android manifest and implementation in android audio manager.

MODIFY_AUDIO_SETTINGS allows application to be able to configure audio settings.

In android audio manager, a function SetAudioMode is added to set audio mode.

BUG=180328

Contributed by leozwang@chromium.org (https://codereview.chromium.org/12571006/).
Review URL: https://codereview.chromium.org/12843015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189210 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox HistoryQuick: Store Recent Visits Information

This change upgrades HistoryQuick provider private URL
index data structure to store information about the ten
most recent visits to each URL.  This will allow frecency-
based scoring (see bug).

To make this happen, this change:

* updated the private index data structure format to
store recent visit information.

* enabled non-UI thread updates to the private data.  In
particular, after a URL is visited (and hence needs to be
newly indexed or at least updated), the private data class
schedules a task on the historyDB thread to get the list
of recent visits for the URL.  When the task returns, it
updates that information in the private data structure.

* updated the cache data structure that gets written and
restored from a file to include the recent visits information.

* forced the private data to get rebuilt from history if the
cached data file come from a version that's not the most
recent version.

* revises tests with respect to the new interfaces to certain
functions.

* deletes some of the ------ comment lines in
chrome/browser/history/url_index_private_data.cc
per Peter's request.

* rearranges the location of the implementation
of the helper classes in 
chrome/browser/history/url_index_private_data.cc
per Peter's request.  I did not make any meaningful
changes in the process of this cut-and-paste.  No need
to review those.

* adds tests
- recent visits gets populated correctly
- saving and restoring recent visits

A later changelist will turn on using the
recent  visits information in ranking URLs.

BUG=175751

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189211 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 3878.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189212 0039d316-1c4b-4281-b951-d872f2087c98
Convert http; into http: (and other valid schemes).

Also:
* Use the unnamed namespace instead of static functions.
* Make ordering of functions in .cc file match that in .h file.

BUG=176106

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189213 0039d316-1c4b-4281-b951-d872f2087c98
Fixes couple to TODOs.

1. Enables test depending on IsCheckable, which is now committed.
2. Remove the comment which is no-op.

BUG=None


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189215 0039d316-1c4b-4281-b951-d872f2087c98
Moved kWebNotificationWidth to message_center_constants.h.

Moved this widely used constant out of message_view.h and into the more
general message_center_constants.h. Also renamed it kNotificationWidth
since it's now used for all notifications, not just WebKit ones.

BUG=191143,217902
R=mukai@chromium.org


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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189217 0039d316-1c4b-4281-b951-d872f2087c98
WebKit roll 146197->146316.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189220 0039d316-1c4b-4281-b951-d872f2087c98
[Autofill] Fetch Autocheckout whitelist over https

BUG=none


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

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