OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 class Extension; | 14 class Extension; |
15 } // namespace extensions | 15 } // namespace extensions |
16 | 16 |
17 namespace views { | |
18 class Widget; | |
19 } // namespace views | |
20 | |
21 namespace chromeos { | 17 namespace chromeos { |
22 | 18 |
23 class IdleAppNameNotificationDelegateView; | 19 class IdleAppNameNotificationDelegateView; |
24 | 20 |
25 // A class which creates a message which shows the currently running applicaion | 21 // A class which creates a message which shows the currently running applicaion |
26 // name and its creator. | 22 // name and its creator. |
27 class IdleAppNameNotificationView { | 23 class IdleAppNameNotificationView { |
28 public: | 24 public: |
29 // |message_visibility_time_in_ms| is the time the message is fully visible. | 25 // |message_visibility_time_in_ms| is the time the message is fully visible. |
30 // |animation_time_ms| is the transition time for the message to show or hide. | 26 // |animation_time_ms| is the transition time for the message to show or hide. |
(...skipping 20 matching lines...) Expand all Loading... |
51 | 47 |
52 // A reference to an existing message. | 48 // A reference to an existing message. |
53 IdleAppNameNotificationDelegateView* view_; | 49 IdleAppNameNotificationDelegateView* view_; |
54 | 50 |
55 DISALLOW_COPY_AND_ASSIGN(IdleAppNameNotificationView); | 51 DISALLOW_COPY_AND_ASSIGN(IdleAppNameNotificationView); |
56 }; | 52 }; |
57 | 53 |
58 } // namespace chromeos | 54 } // namespace chromeos |
59 | 55 |
60 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_APP_NAME_NOTIFICATION_VIEW_H_ |
OLD | NEW |