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

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

Issue 2184103003: arc: Implement proper Arc window activation for task moving to front. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/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 907fa513ab1dfcd9e82387097825d50cf85919a9..25bfe628e6f8dd25918a083b34b9d0b1ecd0eaef 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
@@ -119,8 +119,10 @@ class ArcAppListPrefs
const std::string& activity) {}
// Notifies that task has been destroyed.
virtual void OnTaskDestroyed(int32_t task_id) {}
- // Notifies that task has been activated and moved to the front.
+ // Notifies that task has been activated.
virtual void OnTaskSetActive(int32_t task_id) {}
+ // Notifies that task has been moved to the front.
+ virtual void OnTaskMovedToFront(int32_t task_id) {}
virtual void OnNotificationsEnabledChanged(
const std::string& package_name, bool enabled) {}
@@ -232,6 +234,7 @@ class ArcAppListPrefs
const mojo::String& activity) override;
void OnTaskDestroyed(int32_t task_id) override;
void OnTaskSetActive(int32_t task_id) override;
+ void OnTaskMovedToFront(int32_t) override;
void OnNotificationsEnabledChanged(const mojo::String& package_name,
bool enabled) override;
void OnPackageAdded(arc::mojom::ArcPackageInfoPtr package_info) override;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | components/arc/common/app.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698