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

Unified Diff: athena/extensions/athena_app_delegate_base.cc

Issue 596623005: Do not show the activity widget in ActivityManager::AddActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase 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/content/web_activity.cc ('k') | athena/main/placeholder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/athena_app_delegate_base.cc
diff --git a/athena/extensions/athena_app_delegate_base.cc b/athena/extensions/athena_app_delegate_base.cc
index 53c1b964c65c37679cfa68fc3e15928598beeeae..451fc981fbcc240c4439aa0627e0a2c60a70f62b 100644
--- a/athena/extensions/athena_app_delegate_base.cc
+++ b/athena/extensions/athena_app_delegate_base.cc
@@ -4,6 +4,7 @@
#include "athena/extensions/athena_app_delegate_base.h"
+#include "athena/activity/public/activity.h"
#include "athena/activity/public/activity_factory.h"
#include "athena/env/public/athena_env.h"
#include "content/public/browser/web_contents.h"
@@ -22,7 +23,7 @@ content::WebContents* OpenURLInActivity(content::BrowserContext* context,
// Force all links to open in a new activity.
Activity* activity = ActivityFactory::Get()->CreateWebActivity(
context, base::string16(), params.url);
- DCHECK(activity);
+ Activity::Show(activity);
// TODO(oshima): Get the web cotnents from activity.
return NULL;
}
« no previous file with comments | « athena/content/web_activity.cc ('k') | athena/main/placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698