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

Unified Diff: ash/common/system/tray/tray_notification_view.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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 | « ash/common/system/tray/tray_item_view.cc ('k') | ash/common/system/tray/tray_notification_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_notification_view.h
diff --git a/ash/common/system/tray/tray_notification_view.h b/ash/common/system/tray/tray_notification_view.h
deleted file mode 100644
index 58e29667e77c3572e6ea2e689eeb0bf240ce1b2c..0000000000000000000000000000000000000000
--- a/ash/common/system/tray/tray_notification_view.h
+++ /dev/null
@@ -1,39 +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 ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_
-#define ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_
-
-#include "ui/views/view.h"
-
-namespace views {
-class ImageView;
-}
-
-namespace ash {
-
-// A view for closable notification views, laid out like:
-// -------------------
-// | icon contents x |
-// ----------------v--
-// The close button will call OnClose() when clicked.
-class TrayNotificationView : public views::View {
- public:
- // If icon_id is 0, no icon image will be set.
- explicit TrayNotificationView(int icon_id);
- ~TrayNotificationView() override;
-
- // InitView must be called once with the contents to be displayed.
- void InitView(views::View* contents);
-
- private:
- int icon_id_;
- views::ImageView* icon_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayNotificationView);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_TRAY_TRAY_NOTIFICATION_VIEW_H_
« no previous file with comments | « ash/common/system/tray/tray_item_view.cc ('k') | ash/common/system/tray/tray_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698