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

Unified Diff: athena/content/content_proxy.h

Issue 614283002: Remove Activity dependency from content_proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/app_activity.cc ('k') | athena/content/content_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/content_proxy.h
diff --git a/athena/content/content_proxy.h b/athena/content/content_proxy.h
index e46033816997af92be0723c723890f717a87a6d1..9d1dca5fe02f94890a09e1c12a543632709737eb 100644
--- a/athena/content/content_proxy.h
+++ b/athena/content/content_proxy.h
@@ -17,7 +17,6 @@ class WebView;
namespace athena {
-class Activity;
class ProxyImageData;
// This object creates and holds proxy content which gets shown instead of the
@@ -29,9 +28,8 @@ class ProxyImageData;
// and then the link to the |web_view_| will get severed.
class ContentProxy {
public:
- // Creates the object by creating a sized down |web_view| layer and making it
- // visible inside |activity|'s window.
- ContentProxy(views::WebView* web_view, Activity* activity);
+ // Creates the object by creating a sized down |web_view| layer.
+ explicit ContentProxy(views::WebView* web_view);
// TODO(skuhne): Add a function to create this object from a passed PNG, so
// that we can create it from a session restore.
« no previous file with comments | « athena/content/app_activity.cc ('k') | athena/content/content_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698