summaryrefslogtreecommitdiff
path: root/chromium/ash/system/chromeos/screen_security/screen_capture_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/system/chromeos/screen_security/screen_capture_observer.h')
-rw-r--r--chromium/ash/system/chromeos/screen_security/screen_capture_observer.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/ash/system/chromeos/screen_security/screen_capture_observer.h b/chromium/ash/system/chromeos/screen_security/screen_capture_observer.h
new file mode 100644
index 00000000000..6fca492a16b
--- /dev/null
+++ b/chromium/ash/system/chromeos/screen_security/screen_capture_observer.h
@@ -0,0 +1,29 @@
+// 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_SYSTEM_CHROMEOS_SCREEN_CAPTURE_SCREEN_CAPTURE_OBSERVER_H_
+#define ASH_SYSTEM_CHROMEOS_SCREEN_CAPTURE_SCREEN_CAPTURE_OBSERVER_H_
+
+#include "base/callback.h"
+#include "base/strings/string16.h"
+
+namespace ash {
+
+class ScreenCaptureObserver {
+ public:
+ // Called when screen capture is started.
+ virtual void OnScreenCaptureStart(
+ const base::Closure& stop_callback,
+ const base::string16& screen_capture_status) = 0;
+
+ // Called when screen capture is stopped.
+ virtual void OnScreenCaptureStop() = 0;
+
+ protected:
+ virtual ~ScreenCaptureObserver() {}
+};
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_CHROMEOS_SCREEN_CAPTURE_SCREEN_CAPTURE_OBSERVER_H_