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

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

Issue 18247002: Remove the most obvious dead code from message center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move MessageCenterButtonBar into cc file to hide implementation. Created 7 years, 5 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 | « ui/message_center/views/message_popup_bubble.cc ('k') | ui/message_center/views/message_simple_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_simple_view.h
diff --git a/ui/message_center/views/message_simple_view.h b/ui/message_center/views/message_simple_view.h
deleted file mode 100644
index 3db6ef84c58d7a69efa8a071d4d2e26fa866e33d..0000000000000000000000000000000000000000
--- a/ui/message_center/views/message_simple_view.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_SIMPLE_VIEW_H_
-#define UI_MESSAGE_CENTER_VIEWS_MESSAGE_SIMPLE_VIEW_H_
-
-#include "ui/message_center/views/message_view.h"
-
-namespace message_center {
-
-class MessageCenter;
-class Notification;
-
-// A simple view for a notification entry (icon + message + buttons).
-class MessageSimpleView : public MessageView {
- public:
- MessageSimpleView(const Notification& notification,
- MessageCenter* message_center);
- virtual ~MessageSimpleView();
-
- // Overridden from MessageView:
- virtual void ButtonPressed(views::Button* sender,
- const ui::Event& event) OVERRIDE;
-
- protected:
- // Overridden from views::View:
- virtual gfx::Size GetPreferredSize() OVERRIDE;
- virtual int GetHeightForWidth(int width) OVERRIDE;
- virtual void Layout() OVERRIDE;
-
- MessageSimpleView();
-
- private:
- void SetUpView(const Notification& notification);
-
- scoped_ptr<views::ImageButton> old_style_close_button_;
- scoped_ptr<views::View> content_view_;
-
- DISALLOW_COPY_AND_ASSIGN(MessageSimpleView);
-};
-
-} // namespace message_center
-
-#endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_SIMPLE_VIEW_H_
« no previous file with comments | « ui/message_center/views/message_popup_bubble.cc ('k') | ui/message_center/views/message_simple_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698