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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_app_dialog.h

Issue 2529783002: arc: Implement uninstall confirmation dialog for Arc app. (Closed)
Patch Set: Address minor comments. Rebase. Created 4 years 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11
12 class AppListControllerDelegate;
13 class Profile;
14
15 namespace arc {
16
17 // Shows a dialog for user to confirm uninstallation of Arc app.
18 // Currently, Arc app can only be manually uninstalled from AppList. But it
19 // would be simple to enable the dialog to shown from other source.
20 void ShowArcAppUninstallDialog(Profile* profile,
21 AppListControllerDelegate* controller,
22 const std::string& app_id);
23
24 // Test purpose methods.
25 bool IsArcAppDialogViewAliveForTest();
26
27 bool CloseAppDialogViewAndConfirmForTest(bool confirm);
28
29 } // namespace arc
30
31 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_context_menu.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698