Add bookmark app creation dialog.

This CL adds a dialog that is displayed when a user presses the "Create app
from this website" button in the wrench menu. The dialog allows the user to
customize the name of the bookmark app and set whether it opens as a tab or a
window. The dialog currently appears below the toolbar.

This CL also removes the old UI behavior of opening the app launcher or NTP
after creating the app because the dialog needs focus.

BUG=331997

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248703 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index be23fd4..6a23b11 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -32,6 +32,8 @@
 class ToolbarView;
 #endif
 
+struct WebApplicationInfo;
+
 namespace autofill {
 class PasswordGenerator;
 struct PasswordForm;
@@ -214,6 +216,15 @@
   // |already_bookmarked| is true if the url is already bookmarked.
   virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0;
 
+  // Shows the Bookmark App bubble.
+  // See Extension::InitFromValueFlags::FROM_BOOKMARK for a description of
+  // bookmark apps.
+  //
+  // |web_app_info| is the WebApplicationInfo being converted into an app.
+  // |extension_id| is the id of the bookmark app.
+  virtual void ShowBookmarkAppBubble(const WebApplicationInfo& web_app_info,
+                                     const std::string& extension_id) = 0;
+
   // Shows the bookmark prompt.
   // TODO(yosin): Make ShowBookmarkPrompt pure virtual.
   virtual void ShowBookmarkPrompt() {}