OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOGOUT_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 static IdleLogoutDialogView* current_instance(); | 70 static IdleLogoutDialogView* current_instance(); |
71 static void set_settings_provider(IdleLogoutSettingsProvider* provider); | 71 static void set_settings_provider(IdleLogoutSettingsProvider* provider); |
72 | 72 |
73 views::Label* restart_label_; | 73 views::Label* restart_label_; |
74 | 74 |
75 // Time at which the countdown is over and we should close the dialog. | 75 // Time at which the countdown is over and we should close the dialog. |
76 base::Time countdown_end_time_; | 76 base::Time countdown_end_time_; |
77 | 77 |
78 base::RepeatingTimer<IdleLogoutDialogView> timer_; | 78 base::RepeatingTimer<IdleLogoutDialogView> timer_; |
79 | 79 |
| 80 static IdleLogoutSettingsProvider* provider_; |
| 81 |
80 base::WeakPtrFactory<IdleLogoutDialogView> weak_ptr_factory_; | 82 base::WeakPtrFactory<IdleLogoutDialogView> weak_ptr_factory_; |
81 | 83 |
82 static IdleLogoutSettingsProvider* provider_; | |
83 | |
84 DISALLOW_COPY_AND_ASSIGN(IdleLogoutDialogView); | 84 DISALLOW_COPY_AND_ASSIGN(IdleLogoutDialogView); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace chromeos | 87 } // namespace chromeos |
88 | 88 |
89 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ | 89 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ |
OLD | NEW |