Add getPermissionLevel and onPermissionLevelChanged to notifications API

BUG=305911
TEST=new tests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230241 0039d316-1c4b-4281-b951-d872f2087c98
Fix netmask configuration on network settings page.

Previously (since r211416) prefixlen was always set to 0.

BUG=309819

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230242 0039d316-1c4b-4281-b951-d872f2087c98
Replace the RenderViewHostObserver for sniffing IPCs in BrowserPluginHostTest.AcceptTouchEvents with a WebContentsObserver.

This is part of the work in removing RenderViewHostObserver.

BUG=306569
R=fsamuel@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230243 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 230242
SVN changes up to revision 230243