| 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 e1ce1d86932144b8f265f0fb892d2d1d969daf78..0118057fe2c1ce1a3232f78900a6733c41c092bd 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
|
| @@ -63,6 +63,7 @@ class ArcAppListPrefs
|
| bool ready,
|
| bool showInLauncher,
|
| bool shortcut,
|
| + bool launchable,
|
| arc::mojom::OrientationLock orientation_lock);
|
| ~AppInfo();
|
|
|
| @@ -77,6 +78,7 @@ class ArcAppListPrefs
|
| bool ready;
|
| bool showInLauncher;
|
| bool shortcut;
|
| + bool launchable;
|
| arc::mojom::OrientationLock orientation_lock;
|
| };
|
|
|
| @@ -240,7 +242,8 @@ class ArcAppListPrefs
|
| mojo::Array<uint8_t> icon_png_data);
|
| void OnTaskCreated(int32_t task_id,
|
| const mojo::String& package_name,
|
| - const mojo::String& activity) override;
|
| + const mojo::String& activity,
|
| + const mojo::String& name) override;
|
| void OnTaskDestroyed(int32_t task_id) override;
|
| void OnTaskSetActive(int32_t task_id) override;
|
| void OnNotificationsEnabledChanged(const mojo::String& package_name,
|
| @@ -261,6 +264,7 @@ class ArcAppListPrefs
|
| const bool sticky,
|
| const bool notifications_enabled,
|
| const bool shortcut,
|
| + const bool launchable,
|
| arc::mojom::OrientationLock orientation_lock);
|
| void DisableAllApps();
|
| void RemoveAllApps();
|
| @@ -279,6 +283,12 @@ class ArcAppListPrefs
|
| 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_;
|
|
|
| // Owned by the BrowserContext.
|
|
|