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

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

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Fixed use-after-free 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_unittest.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.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_utils.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_utils.h b/chrome/browser/ui/app_list/arc/arc_app_utils.h
index a42a3580f3836ff05acb2e871a9591a406dc758b..389a05377fa115e6bb7ad7f80de2590a0eedd8c3 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_utils.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_utils.h
@@ -28,21 +28,26 @@ using CanHandleResolutionCallback = base::Callback<void(bool)>;
bool ShouldShowInLauncher(const std::string& app_id);
// Launch an app and let the system decides how big and where to place it.
-bool LaunchApp(content::BrowserContext* context, const std::string& app_id);
+bool LaunchApp(content::BrowserContext* context,
+ const std::string& app_id,
+ int event_flags);
// Launch Android Settings app.
-bool LaunchAndroidSettingsApp(content::BrowserContext* context);
+bool LaunchAndroidSettingsApp(content::BrowserContext* context,
+ int event_flags);
// Launch an app with given layout and let the system decides how big and where
// to place it.
bool LaunchApp(content::BrowserContext* context,
const std::string& app_id,
- bool landscape_layout);
+ bool landscape_layout,
+ int event_flags);
// Launch an app and place it at the specified coordinates.
bool LaunchAppWithRect(content::BrowserContext* context,
const std::string& app_id,
- const gfx::Rect& target_rect);
+ const gfx::Rect& target_rect,
+ int event_flags);
// Sets task active.
void SetTaskActive(int task_id);
@@ -58,9 +63,9 @@ void ShowTalkBackSettings();
// A false will get returned if the result cannot be determined in which case
// the callback will not be called.
bool CanHandleResolution(content::BrowserContext* context,
- const std::string& app_id,
- const gfx::Rect& rect,
- const CanHandleResolutionCallback& callback);
+ const std::string& app_id,
+ const gfx::Rect& rect,
+ const CanHandleResolutionCallback& callback);
// Uninstalls the package in ARC.
void UninstallPackage(const std::string& package_name);
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_unittest.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698