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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/network_screen_handler.h

Issue 165173002: Style fixes for demo mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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 | Annotate | Revision Log
OLDNEW
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_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "chrome/browser/chromeos/login/screens/network_screen_actor.h" 13 #include "chrome/browser/chromeos/login/screens/network_screen_actor.h"
13 #include "chrome/browser/chromeos/settings/cros_settings.h" 14 #include "chrome/browser/chromeos/settings/cros_settings.h"
14 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 15 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
15 #include "ui/gfx/point.h" 16 #include "ui/gfx/point.h"
16 17
17 class PrefRegistrySimple; 18 class PrefRegistrySimple;
18 19
19 namespace chromeos { 20 namespace chromeos {
20 21
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool is_derelict_; 102 bool is_derelict_;
102 103
103 // Keeps whether screen should be shown right after initialization. 104 // Keeps whether screen should be shown right after initialization.
104 bool show_on_init_; 105 bool show_on_init_;
105 106
106 // Position of the network control. 107 // Position of the network control.
107 gfx::Point network_control_pos_; 108 gfx::Point network_control_pos_;
108 109
109 scoped_ptr<CrosSettings::ObserverSubscription> timezone_subscription_; 110 scoped_ptr<CrosSettings::ObserverSubscription> timezone_subscription_;
110 111
111 scoped_ptr<IdleDetector> detector_; 112 scoped_ptr<IdleDetector> idle_detector_;
112 113
113 // Timeout to detect if the machine is in a derelict state. 114 // Timeout to detect if the machine is in a derelict state.
114 base::TimeDelta derelict_detection_timeout_; 115 base::TimeDelta derelict_detection_timeout_;
115 // Timeout before showing our demo up if the machine is in a derelict state. 116 // Timeout before showing our demo app if the machine is in a derelict state.
116 base::TimeDelta derelict_idle_timeout_; 117 base::TimeDelta derelict_idle_timeout_;
117 118
118 base::WeakPtrFactory<NetworkScreenHandler> weak_ptr_factory_; 119 base::WeakPtrFactory<NetworkScreenHandler> weak_ptr_factory_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler); 121 DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler);
121 }; 122 };
122 123
123 } // namespace chromeos 124 } // namespace chromeos
124 125
125 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_ 126 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_NETWORK_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698