blob: ac266b11b97c15c3e89e49679ff2a40cb5f6e939 [file] [log] [blame]
[email protected]d8da9d652013-03-20 12:17:241// 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 CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
6#define CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
7
Jan Wilken Dörriead587c32021-03-11 14:09:278#include <string>
9
[email protected]d8da9d652013-03-20 12:17:2410#include "base/callback.h"
Robert Liao618a22f2018-03-09 02:31:2511#include "base/macros.h"
Francois Doray65406f82018-07-06 16:11:0712#include "chrome/browser/media/webrtc/media_stream_capture_indicator.h"
[email protected]d8da9d652013-03-20 12:17:2413
14// Interface for screen capture notification UI shown when content of the screen
15// is being captured.
Francois Doray65406f82018-07-06 16:11:0716class ScreenCaptureNotificationUI : public MediaStreamUI {
[email protected]d8da9d652013-03-20 12:17:2417 public:
Robert Liao618a22f2018-03-09 02:31:2518 ScreenCaptureNotificationUI() = default;
19 ~ScreenCaptureNotificationUI() override = default;
[email protected]d8da9d652013-03-20 12:17:2420
[email protected]2fb38b42013-08-07 00:06:1821 // Creates platform-specific screen capture notification UI. |text| specifies
22 // the text that should be shown in the notification.
dcheng9603ab92016-04-08 04:17:3223 static std::unique_ptr<ScreenCaptureNotificationUI> Create(
Jan Wilken Dörrie3f97e292021-03-11 18:07:1424 const std::u16string& text);
Robert Liao618a22f2018-03-09 02:31:2525
26 private:
Robert Liao618a22f2018-03-09 02:31:2527 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUI);
[email protected]d8da9d652013-03-20 12:17:2428};
29
30#endif // CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_