[Extensions] Fix a developerPrivate api bug with app window inspection
commite7057530af5dbb422f1de1c72785c5c1b12396ae
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Fri, 7 Aug 2015 02:13:34 +0000 (6 19:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 02:14:00 +0000 (7 02:14 +0000)
treed6d587422f3ce9531111a0fd66f1d1853081cf56
parent95f74135de282631e09bc3c535fccd14189027b5
[Extensions] Fix a developerPrivate api bug with app window inspection

The developerPrivate was accidentally using the web contents of an app window's
routing id as the render frame routing id. Correct this mistake, and add a test.

BUG=512602

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

Cr-Commit-Position: refs/heads/master@{#342266}
chrome/browser/extensions/api/developer_private/developer_private_apitest.cc
chrome/browser/extensions/api/developer_private/inspectable_views_finder.cc
chrome/browser/extensions/extension_browsertest.cc
chrome/browser/extensions/extension_browsertest.h