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

Unified Diff: ash/system/tray/media_security/media_tray_item.h

Issue 253183003: Media indicator for background recording task (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 6 years, 8 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: ash/system/tray/media_security/media_tray_item.h
diff --git a/ash/system/tray/media_security/media_tray_item.h b/ash/system/tray/media_security/media_tray_item.h
new file mode 100644
index 0000000000000000000000000000000000000000..ad5bb47e4d19fb1ba32c55a7bc33cbaa35813baf
--- /dev/null
+++ b/ash/system/tray/media_security/media_tray_item.h
@@ -0,0 +1,35 @@
+// Copyright 2014 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_SYSTEM_CHROMEOS_MEDIA_TRAY_ITEM_H_
+#define ASH_SYSTEM_CHROMEOS_MEDIA_TRAY_ITEM_H_
+
+#include "ash/system/tray/system_tray_item.h"
+#include "ui/message_center/notification_delegate.h"
+#include "ui/views/view.h"
+
+namespace ash {
+namespace tray {
+class MediaTrayView;
+}
+
+// The tray item for media recording.
+class ASH_EXPORT MediaTrayItem : public SystemTrayItem {
+ public:
+ explicit MediaTrayItem(SystemTray* system_tray);
+ virtual ~MediaTrayItem();
+
+ // SystemTrayItem:
Mr4D (OOO till 08-26) 2014/04/30 18:24:36 "SystemTrayItem overrides:" should the comment be
oshima 2014/04/30 20:40:31 this is new style. no overrides/implementation any
+ virtual views::View* CreateTrayView(user::LoginStatus status) OVERRIDE;
+ virtual void DestroyTrayView() OVERRIDE;
+
+ private:
+ tray::MediaTrayView* tray_view_;
+
+ DISALLOW_COPY_AND_ASSIGN(MediaTrayItem);
+};
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_CHROMEOS_MEDIA_TRAY_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698