Allow ExtensionInstallPrompt be created with a parent native view.
- Add a ShowParams that takes either a parent web contents or a native window
+ page navigator for ShowDialogCallback;
- Add a ExtensionInstallPrompt ctor that takes a profile, a parent native
window and a page navigator;
Clean-ups:
- Consolidate prompt_type_ into prompt_;
- Remove profile_ from ExtensionInstallPrompt and use install_ui_->profile()
instead;
- Remove profile_ from Prompt and add a SetUserNameFromProfile instead;
BUG=157996
TEST=Code compiles on all platforms and no test regressions.
R=sail@chromium.org,benwells@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
11608007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174120 0039d316-1c4b-4281-b951-d872f2087c98