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

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: nit and rebase Created 4 years, 3 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
Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
index eb5a600576234ab8e1fd1e5c0e53093f4203743d..a06f4ffa1fb2555eb3ced3a575310b3cc178d75e 100644
--- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
@@ -14,6 +14,7 @@
#include "ash/common/wm_window_property.h"
#include "ash/display/display_manager.h"
#include "ash/display/screen_orientation_controller_chromeos.h"
+#include "ash/shared/app_types.h"
#include "ash/shell.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
@@ -385,6 +386,9 @@ void ArcAppWindowLauncherController::AttachControllerToWindowIfNeeded(
if (GetAppWindowForTask(task_id))
return;
+ window->SetProperty(aura::client::kAppType,
+ static_cast<int>(ash::AppType::ARC_APP));
+
// Create controller if we have task info.
TaskIdToShelfAppIdMap::iterator it = task_id_to_shelf_app_id_.find(task_id);
if (it == task_id_to_shelf_app_id_.end())

Powered by Google App Engine
This is Rietveld 408576698