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

Unified Diff: athena/content/web_activity.h

Issue 591693002: Creating PNG images from web content to be used by OverviewMode navigation (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
Index: athena/content/web_activity.h
diff --git a/athena/content/web_activity.h b/athena/content/web_activity.h
index 4c23e81aa346ac877cc27fd4972c1628c2efa988..053e0881b259ff31f8f0fa9e0e9938dc6833131c 100644
--- a/athena/content/web_activity.h
+++ b/athena/content/web_activity.h
@@ -13,6 +13,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "content/public/browser/web_contents_observer.h"
+#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
class SkBitmap;
@@ -64,7 +65,7 @@ class WebActivity : public Activity,
virtual bool UsesFrame() const OVERRIDE;
virtual views::View* GetContentsView() OVERRIDE;
virtual views::Widget* CreateWidget() OVERRIDE;
- virtual gfx::ImageSkia GetOverviewModeImage() OVERRIDE;
+ virtual scoped_ptr<gfx::Image> GetOverviewModeImage() OVERRIDE;
virtual void PrepareContentsForOverview() OVERRIDE;
virtual void ResetContentsView() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698