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

Unified Diff: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Rebase to ToT Created 4 years, 1 month 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
Index: chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc
index 3c948c17b71ae8ac639d8c26674e8e7b3564784e..e022ccce42f50200f0ce0ee8afb2fd3538f5ffdb 100644
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.cc
@@ -4,10 +4,14 @@
#include <chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_launcher.h>
+#include <memory>
+#include <string>
+
#include "ash/wm/window_util.h"
#include "chrome/browser/ui/app_list/arc/arc_app_utils.h"
#include "chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h"
#include "ui/aura/env.h"
+#include "ui/events/event_constants.h"
namespace chromeos {
@@ -18,7 +22,7 @@ ArcKioskAppLauncher::ArcKioskAppLauncher(content::BrowserContext* context,
prefs_->AddObserver(this);
aura::Env::GetInstance()->AddObserver(this);
// Launching the app by app id in landscape mode.
stevenjb 2016/11/29 20:17:09 nit: Update comment wrt event_flags.
Luis Héctor Chávez 2016/11/29 20:50:46 Done.
- arc::LaunchApp(context, app_id_);
+ arc::LaunchApp(context, app_id_, ui::EF_NONE);
}
ArcKioskAppLauncher::~ArcKioskAppLauncher() {

Powered by Google App Engine
This is Rietveld 408576698