| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include "base/observer_list.h" | 8 #include "base/observer_list.h" |
| 9 #include "chrome/browser/ui/screen_capture_notification_ui.h" | 9 #include "chrome/browser/ui/screen_capture_notification_ui.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 | 12 |
| 13 // Chromeos implementation for ScreenCaptureNotificationUI. | 13 // Chromeos implementation for ScreenCaptureNotificationUI. |
| 14 class ScreenCaptureNotificationUIChromeOS : public ScreenCaptureNotificationUI { | 14 class ScreenCaptureNotificationUIChromeOS : public ScreenCaptureNotificationUI { |
| 15 public: | 15 public: |
| 16 // |text| is used to specify the text for the notification. | 16 // |text| is used to specify the text for the notification. |
| 17 explicit ScreenCaptureNotificationUIChromeOS(const string16& text); | 17 explicit ScreenCaptureNotificationUIChromeOS(const base::string16& text); |
| 18 virtual ~ScreenCaptureNotificationUIChromeOS(); | 18 virtual ~ScreenCaptureNotificationUIChromeOS(); |
| 19 | 19 |
| 20 // ScreenCaptureNotificationUI overrides. | 20 // ScreenCaptureNotificationUI overrides. |
| 21 virtual void OnStarted(const base::Closure& stop_callback) OVERRIDE; | 21 virtual void OnStarted(const base::Closure& stop_callback) OVERRIDE; |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 const string16 text_; | 24 const base::string16 text_; |
| 25 | 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUIChromeOS); | 26 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUIChromeOS); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace chromeos | 29 } // namespace chromeos |
| 30 #endif // CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ | 30 #endif // CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ |
| OLD | NEW |