blob: 3d21af00fac164e7ce8600e2db5f7ebad3a766db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// 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 CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
#define CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
#include "base/callback.h"
#include "base/strings/string16.h"
#include "content/public/common/media_stream_request.h"
// Interface for screen capture notification UI shown when content of the screen
// is being captured.
class ScreenCaptureNotificationUI : public content::MediaStreamUI {
public:
~ScreenCaptureNotificationUI() override {}
// Creates platform-specific screen capture notification UI. |text| specifies
// the text that should be shown in the notification.
static scoped_ptr<ScreenCaptureNotificationUI> Create(
const base::string16& text);
};
#endif // CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
|