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

Unified Diff: ash/common/system/chromeos/screen_security/screen_capture_tray_item.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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/common/system/chromeos/screen_security/screen_capture_tray_item.h
diff --git a/ash/common/system/chromeos/screen_security/screen_capture_tray_item.h b/ash/common/system/chromeos/screen_security/screen_capture_tray_item.h
deleted file mode 100644
index 8d56a0d7974921828f76958e74a739a545857e11..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/screen_security/screen_capture_tray_item.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 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_CHROMEOS_SCREEN_SECURITY_SCREEN_CAPTURE_TRAY_ITEM_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_SCREEN_SECURITY_SCREEN_CAPTURE_TRAY_ITEM_H_
-
-#include "ash/common/shell_observer.h"
-#include "ash/common/system/chromeos/screen_security/screen_capture_observer.h"
-#include "ash/common/system/chromeos/screen_security/screen_tray_item.h"
-#include "base/macros.h"
-
-namespace views {
-class View;
-}
-
-namespace ash {
-
-class ASH_EXPORT ScreenCaptureTrayItem : public ScreenTrayItem,
- public ScreenCaptureObserver,
- public ShellObserver {
- public:
- explicit ScreenCaptureTrayItem(SystemTray* system_tray);
- ~ScreenCaptureTrayItem() override;
-
- private:
- // Overridden from SystemTrayItem.
- views::View* CreateDefaultView(LoginStatus status) override;
-
- // Overridden from ScreenTrayItem.
- void CreateOrUpdateNotification() override;
- std::string GetNotificationId() override;
- void RecordStoppedFromDefaultViewMetric() override;
- void RecordStoppedFromNotificationViewMetric() override;
-
- // Overridden from ScreenCaptureObserver.
- void OnScreenCaptureStart(
- const base::Closure& stop_callback,
- const base::string16& screen_capture_status) override;
- void OnScreenCaptureStop() override;
-
- // Overridden from ShellObserver.
- void OnCastingSessionStartedOrStopped(bool started) override;
-
- base::string16 screen_capture_status_;
- bool is_casting_ = false;
-
- DISALLOW_COPY_AND_ASSIGN(ScreenCaptureTrayItem);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_SCREEN_SECURITY_SCREEN_CAPTURE_TRAY_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698