Move NPAPI implementation out of webkit/plugins/npapi and into content.

Notes:
-gtk_plugin_container_manager* and gtk_plugin_container* move to content/browser/renderer_host/ since that's all where they're used
-plugin_list* and plugin_constants_win* move to content/common as they're used by child processes and the browser
-webplugin_impl* and webplugin_page_delegate.h move to content/renderer as that's where they're used. I will remove webplugin_page_delegate.h in a followup change as it's no longer needed.
-the rest moves to content/child/npapi
-a few constants moved from plugin_constants_win.h to plugin_util.h temporarily

BUG=237249
TBR=scottmg

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212485 0039d316-1c4b-4281-b951-d872f2087c98
Make the autofill test-only infobar creation function work like in other infobar
code: named Create() and #ifdefed to only be in UNIT_TESTs.

BUG=none
TEST=none
R=isherman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212486 0039d316-1c4b-4281-b951-d872f2087c98
[StorageMonitor] Move StorageMonitor ownership to BrowserProcessImpl

This preserves all gross timings of setup and teardown of the storage
monitor.

BUG=None

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212488 0039d316-1c4b-4281-b951-d872f2087c98
Position guest context menu correctly in aura and windows.
We need to put the web_contents_view's native view to the view hierarchy
so that coordinates/bounds are correct and ConvertPointToScreen* conversion
works properly. We also need to override the origin/position of the 
native view before showing context menu.
Other code paths that calculate web_contents_view's bounds/position
doesn't use this path and therefore this was not required before.

BUG=254069, 238691
Test=Chromeos + linux aura + windows + windows aura.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212489 0039d316-1c4b-4281-b951-d872f2087c98
Enable DMP for system Chromium WebView on Android

A couple of tweaks are needed in order to enable
compiling inside the Android tree.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212490 0039d316-1c4b-4281-b951-d872f2087c98
Omnibox UMA Logging: Add Instant New Tab Page as a Classification

Currently the Instant Extended new tab page is classified as OTHER
because it doesn't have the URL chrome://newtab.  This adds a new
way classification for the instant new tab page.

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212491 0039d316-1c4b-4281-b951-d872f2087c98
Make devtools, plugin, and webConnectable permissions not specifiable in the permissions list.

Specifying them in the permissions list is now an install error. (This is a breaking change: 2 extensions in the webstore that don't even use the permissions are affected, about 300 users total.)

BUG=252756

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212492 0039d316-1c4b-4281-b951-d872f2087c98
cc: Use simplified region for pending invalidation.

Our invalidation regions can get very large in terms of the number
of containing rects, so unioning two of these regions causes a crash
(out of memory) on certain heavy pages. Using a simplified region
helps both performance in terms of time and in terms of memory.

BUG=260626

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212494 0039d316-1c4b-4281-b951-d872f2087c98
cc: Fix hud bounds on the first frame it is displayed.

We were computing the huds bounds in Update() and then expecting
to push a correct content_bounds based on those bounds. However
content_bounds are computed in CalcDrawProps which happens before
Update, so we are actually pushing the content_bounds based on
the previous frame's bounds.

This means that if we don't push properties again for the hud
layer due to early outs, we have the wrong bounds on the impl
side forever.

Compute the bounds in CalculateContentsScale instead of Update,
which is during CalcDrawProps, and will have the right
content_bounds for the frame as a result.

R=enne
BUG=261506

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212495 0039d316-1c4b-4281-b951-d872f2087c98
Add the beginnings of a Chromoting Android app

Currently, this has only the following capabilities:
 + Authenticate using a Google account on the phone
 + Query and display the host list from the Chromoting directory server
 + Connect to and communicate with the host service over XMPP/ICE
 + Establish peer-to-peer channels for communicating with the host service
Notable missing features are:
 - Display the host's desktop
 - Handle any kind of input

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212496 0039d316-1c4b-4281-b951-d872f2087c98
Prevent unnecessary dismissal retries. We stop retrying a dismissal if:
1. The response from the server indicates that retrying is hopeless;
2. We kept retrying for 1 day.

BUG=164227
TEST=Disconnect network and dismiss a notification. Observe the console output. Make sure that dismissal attempts continue for 1 day and then stop. (Of course, you don't have to run this test on every Canary release :))

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212497 0039d316-1c4b-4281-b951-d872f2087c98
Remove unused WebFrameClient overrides

Most of these were obsoleted in http://src.chromium.org/viewvc/blink?view=revision&revision=154432,
but a couple have been dead longer.

BUG=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212498 0039d316-1c4b-4281-b951-d872f2087c98
Fixed DisableLazyDetection() behaviour.

Fixed DisableLazyDetection() behavior: in the case of pending portal
detection request it's cancelled.

BUG=261150
TEST=unit_tests:NetworkPortalDetectorImpl*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212499 0039d316-1c4b-4281-b951-d872f2087c98
Ignore some error codes as we do for the webkit

Some error codes reported by android MediaPlayer are not critical.
We ignore those for embedded case, but not fullscreen. Do the same for fullscreen.

BUG=261670

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212500 0039d316-1c4b-4281-b951-d872f2087c98
[Android] Disable failing content_browsertests.

BUG=
NOTRY=True
TBR=yfriedman@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212502 0039d316-1c4b-4281-b951-d872f2087c98
cc: add picture id to Picture::Record

This allows you to easily click on an expensive record in frame viewer,
click on the picture id link, and then investigate the skia commands for
that picture.

R=ernstm@chromium.org, nduca@chromium.org
BUG=261476

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212504 0039d316-1c4b-4281-b951-d872f2087c98
Do not use zoom to determine omnibox start-margin

The GetStartMargin uses zoom level as a factor in computing omnibox
start margin. This results in Google logo overlapping with the search
refinements at the top of results. This is inconsistent with generally
expected zoom behavior.

BUG=260871

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212505 0039d316-1c4b-4281-b951-d872f2087c98
Fix a segmentation fault / bus error in LZMA that occurs on Mac builds (in
principle can occur anywhere).

Now that this crash has been resolved, several unit tests no longer have to
be Windows only.

BUG=261676

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212506 0039d316-1c4b-4281-b951-d872f2087c98
[rAc] Make sure validation error bubbles are visible by scrolling to the invalid
input (at least on views).

R=estade@chromium.org
BUG=259527

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

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