Refactor positioning of Insertion/Selection handles

This consolidates handling of normalized/window points into a small
class and separates showing and positioning of handles.

BUG=169918

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179496 0039d316-1c4b-4281-b951-d872f2087c98
Initial implementation of Google Now Notifications integration.

BUG=164227

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179497 0039d316-1c4b-4281-b951-d872f2087c98
Fixes a bug when the framebuffer is cleared with invalid scissor rect.

BUG=170305

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179498 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179498
Ensure FFmpegAudioDecoder passes aligned channel pointers.

Previously under the right circumstances AudioBus::SetChannelData
might have been called with an unaligned channel pointer which is
unaccpetable to AudioBus since aligned SSE may be applied later.

In this case the issue was harmless and just lead to a DCHECK
failure.  The solution is to model the entire channel array,
instead of sliding window, and use ToInterleavedPartial on the
window desired.

BUG=171605
TEST=DCHECK no longer fires.


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179500 0039d316-1c4b-4281-b951-d872f2087c98
IndexedDB: Remove onBlocked() overload

Once wkrev.com/140602 has rolled, Chromium can remove support for the onBlocked()
overload (no arguments). Only the version that takes an integer version is used.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179501 0039d316-1c4b-4281-b951-d872f2087c98
Minimize black screen during the boot with multi displays
 * Do not try to install Background when a root window is
   added if a background isn't set yet.
 * Set the boot screen background color to the root window
   during the boot if there is external display.

BUG=171050
TEST=manual


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179502 0039d316-1c4b-4281-b951-d872f2087c98
Refactor fullscreen state tests to use 'ShouldSkip' instead of #ifdefs.

Testing code is becoming littered with too many #ifdef statements,
and with more platform specific cases coming it's time to clean it
up and reduce the #ifdef lines. Moving the one-off logic into the
ShouldSkip functions improves readability.



BUG=172757


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179503 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179503
Omnibox: Tweak HistoryQuick Provider also_do_hup_like_score_ Mode

This gives it better fidelity.

Consider a page http://foo/123 that was visited once.

In normal HUP mode, for the input "foo", you'll get
http://foo/ 1403
http://foo/123 1402

The latter URL, with only one typed visit, would normally only score 900.
It got boosted to 1402 because we assign all scored in HUP in an
immediately decreasing fashion.

Currently, in also_do_hup_like_scoring modei n HistoryQuick provider,
we assign http://foo/123 the score of 900.  The URL-that-you-typed still
gets assigned the same score by HistoryURL provider as usual: 1403.

After this change, in HistoryQuick provider, we'll realize that
URL-what-you-typed will appear with a high score, so we know we
should assign ourselves a high score too in order to be effectively
clustered together.

We don't have to worry about exceeding the URL-what-you-typed
score because HistoryQuick provider, as a last step before it
returns its result, insure the URL-what-you-typed result goes
first if it's supposed to.

BUG=


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179505 0039d316-1c4b-4281-b951-d872f2087c98
Add management.uninstallSelf to API

Let extensions/apps uninstall themselves without requiring the management
permission.

BUG=166546


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179506 0039d316-1c4b-4281-b951-d872f2087c98
[ChromeDriver] Fix python tests that broke with the switch from about:blank to data:

BUG=None
TEST=chrome/test/chromedriver/run_py_tests.py


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179507 0039d316-1c4b-4281-b951-d872f2087c98
Fix crash in ExtensionIconSource when chrome://extension-icon URL is invalid.

The problem is SendDefaultResponse gets the callback it calls from resquest_map_,
but in the case the request is not valid, the request data doesn't get added to
the map.

BUG=172696
TEST=navigtate to chrome://extension-icon/xxx ; no crash


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179508 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179510
Fix a double deletion in histogram test and re-enable


BUG=172109


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179511 0039d316-1c4b-4281-b951-d872f2087c98
Alternate NTP: Change omnibox suggest color

This CL changes the gray omnibox suggest color to black with 50% opacity.

Also making the function public so that it can be used by the search token UI.

Screenshot: http://imgur.com/iFGdJuf

BUG=172142


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179512 0039d316-1c4b-4281-b951-d872f2087c98
Implement IAccessibleContentDocument to fix JAWS 14.

JAWS 14 (a third-party screen reader) won't announce when Chrome
navigates to a new page unless we implement this interface,
which it uses to distinguish between page load events on the
main doc vs an iframe.

BUG=172753


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179513 0039d316-1c4b-4281-b951-d872f2087c98
> ash: Item removed animation visual polish.
> 
> If overflow button is visible, hide the new last item until the sliding
> animation is finished. This avoids new last item overlapping with overflow
> chevron.
> 
> BUG=171286
> TEST=Verify no overlapping of item icon and overflow chevron.
> 
> R=sky@chromium.org


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179514 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 179513
Having URLFetcher handle SSL client auth by proceeding anonymously (eg: NULL
certificate) causes issues with both the SSL session cache and the SPDY session
pool when dealing with SSL proxies that require client certificate
authentication, but do so by allowing the handshake to continue and returning
403 error codes.

BUG=172349
R=rch@chromium.org

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

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