Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

Issue 15519002: Remove the create application shortcut dialog black border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 33acbd23566a99ad9d5784573b233e03f6b5ec31..ce8177218fa1e2d76b53f011ad0693a531508bc9 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -228,17 +228,17 @@ namespace chrome {
void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
content::WebContents* web_contents) {
- views::Widget::CreateWindowWithParent(
+ views::DialogDelegate::CreateDialogWidget(
new CreateUrlApplicationShortcutView(web_contents),
- parent_window)->Show();
+ NULL, parent_window)->Show();
}
void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
Profile* profile,
const extensions::Extension* app) {
- views::Widget::CreateWindowWithParent(
+ views::DialogDelegate::CreateDialogWidget(
new CreateChromeApplicationShortcutView(profile, app),
- parent_window)->Show();
+ NULL, parent_window)->Show();
}
} // namespace chrome
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698