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

Unified Diff: ui/message_center/views/notification_view_md.h

Issue 2969603003: Implement new-style image notification resizing. (Closed)
Patch Set: Adjust height to follow the mock. Created 3 years, 6 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/message_center/views/notification_view_md.h
diff --git a/ui/message_center/views/notification_view_md.h b/ui/message_center/views/notification_view_md.h
index 35fdbbab839a45b4392dc4993021203c031e75a8..3df4d1a206c462740bd6e0a9a16dca770ba03a77 100644
--- a/ui/message_center/views/notification_view_md.h
+++ b/ui/message_center/views/notification_view_md.h
@@ -29,6 +29,7 @@ class ProportionalImageView;
namespace {
class CompactTitleMessageView;
class ItemView;
+class LargeImageView;
}
// View that displays all current types of notification (web, basic, image, and
@@ -102,8 +103,7 @@ class MESSAGE_CENTER_EXPORT NotificationViewMD
views::Label* title_view_ = nullptr;
BoundedLabel* message_view_ = nullptr;
ProportionalImageView* icon_view_ = nullptr;
- views::View* image_container_ = nullptr;
- ProportionalImageView* image_view_ = nullptr;
+ LargeImageView* image_view_ = nullptr;
std::vector<views::LabelButton*> action_buttons_;
std::vector<ItemView*> item_views_;
views::ProgressBar* progress_bar_view_ = nullptr;
« no previous file with comments | « no previous file | ui/message_center/views/notification_view_md.cc » ('j') | ui/message_center/views/notification_view_md.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698