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

Unified Diff: athena/activity/public/activity.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/activity_manager_unittest.cc ('k') | athena/activity/public/activity_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/public/activity.h
diff --git a/athena/activity/public/activity.h b/athena/activity/public/activity.h
index bd7df61f31b384f80a18b11deaef726c122ba796..54ed832c99bc7518a42886766b37b9608c7867c7 100644
--- a/athena/activity/public/activity.h
+++ b/athena/activity/public/activity.h
@@ -13,6 +13,10 @@ namespace aura {
class Window;
}
+namespace content {
+class WebContents;
+}
+
namespace athena {
class ActivityViewModel;
@@ -89,6 +93,10 @@ class ATHENA_EXPORT Activity {
// which has Show/ShowInactive and other control methods.
virtual aura::Window* GetWindow() = 0;
+ // Returns the web contents used to draw the content of the activity.
+ // This may return NULL if the web content is not available.
+ virtual content::WebContents* GetWebContents() = 0;
+
protected:
virtual ~Activity() {}
};
« no previous file with comments | « athena/activity/activity_manager_unittest.cc ('k') | athena/activity/public/activity_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698