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

Side by Side Diff: ash/common/system/chromeos/screen_security/screen_share_tray_item.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_SCREEN_SECURITY_SCREEN_SHARE_TRAY_ITEM_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_SCREEN_SECURITY_SCREEN_SHARE_TRAY_ITEM_H_
7
8 #include "ash/common/system/chromeos/screen_security/screen_share_observer.h"
9 #include "ash/common/system/chromeos/screen_security/screen_tray_item.h"
10 #include "base/macros.h"
11
12 namespace views {
13 class View;
14 }
15
16 namespace ash {
17
18 class ASH_EXPORT ScreenShareTrayItem : public ScreenTrayItem,
19 public ScreenShareObserver {
20 public:
21 explicit ScreenShareTrayItem(SystemTray* system_tray);
22 ~ScreenShareTrayItem() override;
23
24 private:
25 // Overridden from SystemTrayItem.
26 views::View* CreateDefaultView(LoginStatus status) override;
27
28 // Overridden from ScreenTrayItem.
29 void CreateOrUpdateNotification() override;
30 std::string GetNotificationId() override;
31 void RecordStoppedFromDefaultViewMetric() override;
32 void RecordStoppedFromNotificationViewMetric() override;
33
34 // Overridden from ScreenShareObserver.
35 void OnScreenShareStart(const base::Closure& stop_callback,
36 const base::string16& helper_name) override;
37 void OnScreenShareStop() override;
38
39 base::string16 helper_name_;
40
41 DISALLOW_COPY_AND_ASSIGN(ScreenShareTrayItem);
42 };
43
44 } // namespace ash
45
46 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SCREEN_SECURITY_SCREEN_SHARE_TRAY_ITEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698