blob: 089082af99dba3c44eaa10184e9c70850b778bd4 [file] [log] [blame]
Avi Drissman4a8573c2022-09-09 19:35:541// Copyright 2013 The Chromium Authors
[email protected]d8da9d652013-03-20 12:17:242// 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"
Francois Doray65406f82018-07-06 16:11:0711#include "chrome/browser/media/webrtc/media_stream_capture_indicator.h"
[email protected]d8da9d652013-03-20 12:17:2412
13// Interface for screen capture notification UI shown when content of the screen
14// is being captured.
Francois Doray65406f82018-07-06 16:11:0715class ScreenCaptureNotificationUI : public MediaStreamUI {
[email protected]d8da9d652013-03-20 12:17:2416 public:
Robert Liao618a22f2018-03-09 02:31:2517 ScreenCaptureNotificationUI() = default;
Peter Boström53c6c5952021-09-17 09:41:2618
19 ScreenCaptureNotificationUI(const ScreenCaptureNotificationUI&) = delete;
20 ScreenCaptureNotificationUI& operator=(const ScreenCaptureNotificationUI&) =
21 delete;
22
Robert Liao618a22f2018-03-09 02:31:2523 ~ScreenCaptureNotificationUI() override = default;
[email protected]d8da9d652013-03-20 12:17:2424
[email protected]2fb38b42013-08-07 00:06:1825 // Creates platform-specific screen capture notification UI. |text| specifies
26 // the text that should be shown in the notification.
dcheng9603ab92016-04-08 04:17:3227 static std::unique_ptr<ScreenCaptureNotificationUI> Create(
Jan Wilken Dörrie3f97e292021-03-11 18:07:1428 const std::u16string& text);
[email protected]d8da9d652013-03-20 12:17:2429};
30
31#endif // CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_