ExtensionSyncService: listen for relevant changes instead of being explicitly called...
[chromium-blink-merge.git] / chrome / browser / ui / screen_capture_notification_ui.h
blob3d21af00fac164e7ce8600e2db5f7ebad3a766db
1 // 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.
5 #ifndef CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
6 #define CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_
8 #include "base/callback.h"
9 #include "base/strings/string16.h"
10 #include "content/public/common/media_stream_request.h"
12 // Interface for screen capture notification UI shown when content of the screen
13 // is being captured.
14 class ScreenCaptureNotificationUI : public content::MediaStreamUI {
15 public:
16 ~ScreenCaptureNotificationUI() override {}
18 // Creates platform-specific screen capture notification UI. |text| specifies
19 // the text that should be shown in the notification.
20 static scoped_ptr<ScreenCaptureNotificationUI> Create(
21 const base::string16& text);
24 #endif // CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_