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

Side by Side Diff: chrome/browser/ui/views/uninstall_view.cc

Issue 12321107: Move shell integration code from chrome/browser to apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/views/uninstall_view.h" 5 #include "chrome/browser/ui/views/uninstall_view.h"
6 6
7 #include "apps/shell_integration.h"
7 #include "base/message_loop.h" 8 #include "base/message_loop.h"
8 #include "base/process_util.h" 9 #include "base/process_util.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "chrome/browser/shell_integration.h"
11 #include "chrome/browser/ui/uninstall_browser_prompt.h" 11 #include "chrome/browser/ui/uninstall_browser_prompt.h"
12 #include "chrome/common/chrome_result_codes.h" 12 #include "chrome/common/chrome_result_codes.h"
13 #include "chrome/installer/util/browser_distribution.h" 13 #include "chrome/installer/util/browser_distribution.h"
14 #include "chrome/installer/util/shell_util.h" 14 #include "chrome/installer/util/shell_util.h"
15 #include "grit/chromium_strings.h" 15 #include "grit/chromium_strings.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/views/controls/button/checkbox.h" 17 #include "ui/views/controls/button/checkbox.h"
18 #include "ui/views/controls/combobox/combobox.h" 18 #include "ui/views/controls/combobox/combobox.h"
19 #include "ui/views/controls/label.h" 19 #include "ui/views/controls/label.h"
20 #include "ui/views/focus/accelerator_handler.h" 20 #include "ui/views/focus/accelerator_handler.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 base::RunLoop run_loop(&accelerator_handler); 170 base::RunLoop run_loop(&accelerator_handler);
171 UninstallView* view = new UninstallView(&result, 171 UninstallView* view = new UninstallView(&result,
172 run_loop.QuitClosure(), 172 run_loop.QuitClosure(),
173 show_delete_profile); 173 show_delete_profile);
174 views::Widget::CreateWindow(view)->Show(); 174 views::Widget::CreateWindow(view)->Show();
175 run_loop.Run(); 175 run_loop.Run();
176 return result; 176 return result;
177 } 177 }
178 178
179 } // namespace chrome 179 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698