Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: ash/system/chromeos/power/video_activity_notifier.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
6 #define ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 6 #define ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
7 7
8 #include "ash/wm/video_detector.h" 8 #include "ash/wm/video_detector.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 // Notifies the power manager when a video is playing. 15 // Notifies the power manager when a video is playing.
16 class VideoActivityNotifier : public VideoDetectorObserver, 16 class VideoActivityNotifier : public VideoDetectorObserver,
17 public ShellObserver { 17 public ShellObserver {
18 public: 18 public:
19 explicit VideoActivityNotifier(VideoDetector* detector); 19 explicit VideoActivityNotifier(VideoDetector* detector);
20 ~VideoActivityNotifier() override; 20 ~VideoActivityNotifier() override;
(...skipping 12 matching lines...) Expand all
33 33
34 // True if the screen is currently locked. 34 // True if the screen is currently locked.
35 bool screen_is_locked_; 35 bool screen_is_locked_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(VideoActivityNotifier); 37 DISALLOW_COPY_AND_ASSIGN(VideoActivityNotifier);
38 }; 38 };
39 39
40 } // namespace ash 40 } // namespace ash
41 41
42 #endif // ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_ 42 #endif // ASH_SYSTEM_CHROMEOS_POWER_VIDEO_ACTIVITY_NOTIFIER_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/power/tray_power.h ('k') | ash/system/chromeos/rotation/tray_rotation_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698