Chromium Code Reviews| 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_ |