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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h

Issue 2259033002: Revert of arc: Handle non-launchable apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 4 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 | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
index 2862bbc79003780bf25a06f8785e17dbe86d0b03..ece4046729b265e5ee47cbd455442c69763df8ca 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h
@@ -64,7 +64,6 @@
bool ready,
bool showInLauncher,
bool shortcut,
- bool launchable,
arc::mojom::OrientationLock orientation_lock);
~AppInfo();
@@ -80,7 +79,6 @@
bool ready;
bool showInLauncher;
bool shortcut;
- bool launchable;
arc::mojom::OrientationLock orientation_lock;
};
@@ -244,8 +242,7 @@
mojo::Array<uint8_t> icon_png_data);
void OnTaskCreated(int32_t task_id,
const mojo::String& package_name,
- const mojo::String& activity,
- const mojo::String& name) override;
+ const mojo::String& activity) override;
void OnTaskDestroyed(int32_t task_id) override;
void OnTaskSetActive(int32_t task_id) override;
void OnNotificationsEnabledChanged(const mojo::String& package_name,
@@ -266,7 +263,6 @@
const bool sticky,
const bool notifications_enabled,
const bool shortcut,
- const bool launchable,
arc::mojom::OrientationLock orientation_lock);
void DisableAllApps();
void RemoveAllApps();
@@ -285,12 +281,6 @@
void OnIconInstalled(const std::string& app_id,
ui::ScaleFactor scale_factor,
bool install_succeed);
-
- // This checks if app is not registered yet and in this case creates
- // non-launchable app entry.
- void MayAddNonLaunchableApp(const std::string& name,
- const std::string& package_name,
- const std::string& activity);
Profile* const profile_;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698