Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ui / message_center / views / notification_view.h
index d460fcf..e62f1a1 100644 (file)
@@ -38,7 +38,6 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView,
   // |controller| may be NULL, but has to be set before the view is shown.
   static NotificationView* Create(MessageCenterController* controller,
                                   const Notification& notification,
-                                  bool expanded,
                                   bool top_level);
 
     virtual ~NotificationView();
@@ -67,12 +66,9 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView,
 
  protected:
   NotificationView(MessageCenterController* controller,
-                   const Notification& notification,
-                   bool expanded);
+                   const Notification& notification);
 
  private:
-  bool IsExpansionNeeded(int width);
-  bool IsMessageExpansionNeeded(int width);
   int GetMessageLineLimit(int width);
   int GetMessageLines(int width, int limit);
   int GetMessageHeight(int width, int limit);
@@ -81,7 +77,6 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView,
 
   // Describes whether the view should display a hand pointer or not.
   bool clickable_;
-  bool is_expanded_;
 
   // Weak references to NotificationView descendants owned by their parents.
   views::View* top_view_;
@@ -94,7 +89,6 @@ class MESSAGE_CENTER_EXPORT NotificationView : public MessageView,
   views::View* image_view_;
   views::ProgressBar* progress_bar_view_;
   std::vector<views::View*> action_buttons_;
-  PaddedButton* expand_button_;
 
   DISALLOW_COPY_AND_ASSIGN(NotificationView);
 };