| 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() {}
|
| };
|
|
|