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. 4 5 #ifndef CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_ 6 #define CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_ 7 8 #include "base/callback.h" 9 #include "base/strings/string16.h" 10 #include "content/public/common/media_stream_request.h" 11 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 virtual ~ScreenCaptureNotificationUI() {} 17 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); 22 }; 23 24 #endif // CHROME_BROWSER_UI_SCREEN_CAPTURE_NOTIFICATION_UI_H_ 25