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 base::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 gfx::NativeViewId OnStarted(const base::Closure& stop_callback) | 21 virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) |
22 OVERRIDE; | 22 override; |
23 | 23 |
24 private: | 24 private: |
25 const base::string16 text_; | 25 const base::string16 text_; |
26 | 26 |
27 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUIChromeOS); | 27 DISALLOW_COPY_AND_ASSIGN(ScreenCaptureNotificationUIChromeOS); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace chromeos | 30 } // namespace chromeos |
31 #endif // CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ | 31 #endif // CHROME_BROWSER_CHROMEOS_UI_SCREEN_CAPTURE_NOTIFICATION_UI_CHROMEOS_H_ |
OLD | NEW |