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

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 (with WidgetObserver) 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
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..ca425cab94005950e9b686aa19d43e492371a8da 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.
Peter Kasting 2016/01/28 00:22:08 Nit: Comma after "displayed"
varkha 2016/01/28 00:32:50 Done.
// 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);

Powered by Google App Engine
This is Rietveld 408576698