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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/chromeos/login/wizard_controller.h" 5 #include "chrome/browser/chromeos/login/wizard_controller.h"
6 6
7 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
8 #include <signal.h> 8 #include <signal.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "app/resource_bundle.h"
15 #include "base/command_line.h" 14 #include "base/command_line.h"
16 #include "base/file_util.h" 15 #include "base/file_util.h"
17 #include "base/logging.h" 16 #include "base/logging.h"
18 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/chromeos/cros/cros_library.h" 18 #include "chrome/browser/chromeos/cros/cros_library.h"
20 #include "chrome/browser/chromeos/cros/cryptohome_library.h" 19 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
21 #include "chrome/browser/chromeos/cros/input_method_library.h" 20 #include "chrome/browser/chromeos/cros/input_method_library.h"
22 #include "chrome/browser/chromeos/cros/login_library.h" 21 #include "chrome/browser/chromeos/cros/login_library.h"
23 #include "chrome/browser/chromeos/cros/system_library.h" 22 #include "chrome/browser/chromeos/cros/system_library.h"
24 #include "chrome/browser/chromeos/customization_document.h" 23 #include "chrome/browser/chromeos/customization_document.h"
(...skipping 17 matching lines...) Expand all
42 #include "chrome/browser/chromeos/login/user_manager.h" 41 #include "chrome/browser/chromeos/login/user_manager.h"
43 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" 42 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h"
44 #include "chrome/browser/chromeos/wm_ipc.h" 43 #include "chrome/browser/chromeos/wm_ipc.h"
45 #include "chrome/browser/prefs/pref_service.h" 44 #include "chrome/browser/prefs/pref_service.h"
46 #include "chrome/browser/profiles/profile_manager.h" 45 #include "chrome/browser/profiles/profile_manager.h"
47 #include "chrome/common/chrome_switches.h" 46 #include "chrome/common/chrome_switches.h"
48 #include "chrome/common/notification_service.h" 47 #include "chrome/common/notification_service.h"
49 #include "chrome/common/notification_type.h" 48 #include "chrome/common/notification_type.h"
50 #include "chrome/common/pref_names.h" 49 #include "chrome/common/pref_names.h"
51 #include "third_party/cros/chromeos_wm_ipc_enums.h" 50 #include "third_party/cros/chromeos_wm_ipc_enums.h"
51 #include "ui/base/resource/resource_bundle.h"
52 #include "unicode/timezone.h" 52 #include "unicode/timezone.h"
53 #include "views/accelerator.h" 53 #include "views/accelerator.h"
54 #include "views/painter.h" 54 #include "views/painter.h"
55 #include "views/view.h" 55 #include "views/view.h"
56 #include "views/widget/widget_gtk.h" 56 #include "views/widget/widget_gtk.h"
57 57
58 namespace { 58 namespace {
59 59
60 // A boolean pref of the EULA accepted flag. 60 // A boolean pref of the EULA accepted flag.
61 const char kEulaAccepted[] = "EulaAccepted"; 61 const char kEulaAccepted[] = "EulaAccepted";
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 // user has changed to during OOBE. 1037 // user has changed to during OOBE.
1038 if (!timezone_name.empty()) { 1038 if (!timezone_name.empty()) {
1039 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( 1039 icu::TimeZone* timezone = icu::TimeZone::createTimeZone(
1040 icu::UnicodeString::fromUTF8(timezone_name)); 1040 icu::UnicodeString::fromUTF8(timezone_name));
1041 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone); 1041 chromeos::CrosLibrary::Get()->GetSystemLibrary()->SetTimezone(timezone);
1042 } 1042 }
1043 } 1043 }
1044 } 1044 }
1045 1045
1046 } // namespace browser 1046 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/web_page_view.cc ('k') | chrome/browser/chromeos/native_theme_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698