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

Unified Diff: ui/gfx/image/image_skia.h

Issue 10824296: Enables HiDPI favicon to be displayed in tab strip on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « chrome/browser/ui/views/tabs/tab_renderer_data.cc ('k') | ui/gfx/image/image_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_skia.h
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h
index fffae7a54d0ca4c748fca8af5f222c5721cb59aa..0812913417e436d68d39afe80a6bb64d0a0132f0 100644
--- a/ui/gfx/image/image_skia.h
+++ b/ui/gfx/image/image_skia.h
@@ -67,6 +67,10 @@ class UI_EXPORT ImageSkia {
~ImageSkia();
+ // Returns true if this object is backed by the same ImageSkiaStorage as
+ // |other|. Will also return true if both images are isNull().
+ bool Equals(const gfx::ImageSkia& other) const;
Nico 2012/08/14 20:19:36 I'd call this RefersToSamePixelsAs() or something.
pkotwicz 2012/08/14 20:22:38 I agree.
+
// Adds |image_rep| to the image reps contained by this object.
void AddRepresentation(const gfx::ImageSkiaRep& image_rep);
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_renderer_data.cc ('k') | ui/gfx/image/image_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698