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

Unified Diff: athena/activity/public/activity_manager.h

Issue 603033002: Get FileSelect dialog work on athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reformat Created 6 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
« no previous file with comments | « athena/activity/public/activity.h ('k') | athena/content/app_activity.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/public/activity_manager.h
diff --git a/athena/activity/public/activity_manager.h b/athena/activity/public/activity_manager.h
index 1715cf70fa5479ecb8c42439e117065c65a753f0..946f2eefe56ac520002975c4cd16e4e92ee9819d 100644
--- a/athena/activity/public/activity_manager.h
+++ b/athena/activity/public/activity_manager.h
@@ -7,6 +7,10 @@
#include "athena/athena_export.h"
+namespace aura {
+class Window;
+}
+
namespace athena {
class Activity;
@@ -25,6 +29,10 @@ class ATHENA_EXPORT ActivityManager {
virtual void AddActivity(Activity* activity) = 0;
virtual void RemoveActivity(Activity* activity) = 0;
+ // Returns the activity that has a |window| as toplevel window, or
+ // NULL if such activity does not exist.
+ virtual Activity* GetActivityForWindow(aura::Window* window) = 0;
+
// Updates the UI when the task color/title changes.
virtual void UpdateActivity(Activity* activity) = 0;
« no previous file with comments | « athena/activity/public/activity.h ('k') | athena/content/app_activity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698