Home | History | Annotate | Download | only in ui
      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_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_
      6 #define CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_
      7 
      8 #include "base/observer_list.h"
      9 #include "chrome/browser/ui/screen_capture_notification_ui.h"
     10 
     11 namespace chromeos {
     12 
     13 // Chromeos implementation for ScreenCaptureNotificationUI.
     14 class ScreenCaptureNotificationUIChromeOS : public ScreenCaptureNotificationUI {
     15  public:
     16   // |text| is used to specify the text for the notification.
     17   explicit ScreenCaptureNotificationUIChromeOS(const base::string16& text);
     18   virtual ~ScreenCaptureNotificationUIChromeOS();
     19 
     20   // ScreenCaptureNotificationUI overrides.
     21   virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback)
     22       OVERRIDE;
     23 
     24  private:
     25   const base::string16 text_;
     26 
     27   DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUIChromeOS);
     28 };
     29 
     30 }  // namespace chromeos
     31 #endif  // CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_
     32