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

Unified Diff: ui/views/controls/image_view.h

Issue 1518543002: Adds MD ink ripple animations to buttons within location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds MD ink ripple animations to buttons within location bar (missing member init) Created 4 years, 11 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/translate/translate_bubble_view.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/image_view.h
diff --git a/ui/views/controls/image_view.h b/ui/views/controls/image_view.h
index 401289a76ccf265c637e389fa407568b55f23585..b3b762bcd432cf81435916397445636d8b738b94 100644
--- a/ui/views/controls/image_view.h
+++ b/ui/views/controls/image_view.h
@@ -50,9 +50,9 @@ class VIEWS_EXPORT ImageView : public View {
// image.
void SetImage(const gfx::ImageSkia* image_skia);
- // Returns the image currently displayed or NULL of none is currently set.
+ // Returns the image currently displayed, which can be empty if not set.
// The returned image is still owned by the ImageView.
- const gfx::ImageSkia& GetImage();
+ const gfx::ImageSkia& GetImage() const;
// Set the desired image size for the receiving ImageView.
void SetImageSize(const gfx::Size& image_size);
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698