Further tighten desktop permissions and cleanup style nits

Also removed a debug hook that's obseleted by new permissions.

BUG=346586
R=cpu@chromium.org,jamesr@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254993 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254993
Fix inactive popup frame appearance on Windows desktop.

Use MapThemeImage in OpaqueBrowserFrameView for popups/apps.
This resolves the ash (gray) or desktop (blue) theme images.
See before/after pics at http://crbug.com/348853

BUG=348853
TEST=Popup (and app?) window frames look correct on Windows desktop, Windows Metro/Ash, ChromeOS, etc.
R=pkotwicz@chromium.org,sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254994 0039d316-1c4b-4281-b951-d872f2087c98
Add an implementation path option to json_schema_compiler

This replaces the hard-coded chrome/browser/extensions/api path with
a command-line option (impl_dir).

BUG=349019

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

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