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

Unified Diff: athena/content/web_activity.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/athena.gyp ('k') | athena/extensions/athena_app_delegate_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/web_activity.cc
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc
index e206365b03f085237b237880d924c0d75b02e3f8..bdf2e41206ee81d64c376c9f13f5757a24028c64 100644
--- a/athena/content/web_activity.cc
+++ b/athena/content/web_activity.cc
@@ -235,9 +235,9 @@ class AthenaWebView : public views::WebView {
case NEW_BACKGROUND_TAB:
case NEW_POPUP:
case NEW_WINDOW: {
- ActivityManager::Get()->AddActivity(
- ActivityFactory::Get()->CreateWebActivity(
- browser_context(), base::string16(), params.url));
+ Activity* activity = ActivityFactory::Get()->CreateWebActivity(
+ browser_context(), base::string16(), params.url);
+ Activity::Show(activity);
break;
}
default:
« no previous file with comments | « athena/athena.gyp ('k') | athena/extensions/athena_app_delegate_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698