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 #include "chrome/browser/chromeos/login/base_login_display_host.h" | 5 #include "chrome/browser/chromeos/login/base_login_display_host.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
35 #include "chrome/common/pref_names.h" | 35 #include "chrome/common/pref_names.h" |
36 #include "chromeos/dbus/dbus_thread_manager.h" | 36 #include "chromeos/dbus/dbus_thread_manager.h" |
37 #include "chromeos/dbus/session_manager_client.h" | 37 #include "chromeos/dbus/session_manager_client.h" |
38 #include "content/public/browser/notification_service.h" | 38 #include "content/public/browser/notification_service.h" |
39 #include "content/public/browser/notification_types.h" | 39 #include "content/public/browser/notification_types.h" |
40 #include "googleurl/src/gurl.h" | 40 #include "googleurl/src/gurl.h" |
41 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" | 41 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" |
42 #include "ui/aura/window.h" | 42 #include "ui/aura/window.h" |
43 #include "ui/base/resource/resource_bundle.h" | 43 #include "ui/base/resource/resource_bundle.h" |
44 #include "ui/gfx/compositor/layer.h" | 44 #include "ui/compositor/layer.h" |
45 #include "ui/gfx/compositor/layer_animation_element.h" | 45 #include "ui/compositor/layer_animation_element.h" |
46 #include "ui/gfx/compositor/layer_animation_sequence.h" | 46 #include "ui/compositor/layer_animation_sequence.h" |
47 #include "ui/gfx/compositor/layer_animator.h" | 47 #include "ui/compositor/layer_animator.h" |
48 #include "ui/gfx/compositor/scoped_layer_animation_settings.h" | 48 #include "ui/compositor/scoped_layer_animation_settings.h" |
| 49 #include "ui/gfx/rect.h" |
49 #include "ui/gfx/transform.h" | 50 #include "ui/gfx/transform.h" |
50 #include "ui/gfx/rect.h" | |
51 #include "ui/views/widget/widget.h" | 51 #include "ui/views/widget/widget.h" |
52 #include "unicode/timezone.h" | 52 #include "unicode/timezone.h" |
53 | 53 |
54 namespace { | 54 namespace { |
55 | 55 |
56 // Whether sign in transitions are enabled. | 56 // Whether sign in transitions are enabled. |
57 const bool kEnableBackgroundAnimation = false; | 57 const bool kEnableBackgroundAnimation = false; |
58 const bool kEnableBrowserWindowsOpacityAnimation = true; | 58 const bool kEnableBrowserWindowsOpacityAnimation = true; |
59 const bool kEnableBrowserWindowsTransformAnimation = true; | 59 const bool kEnableBrowserWindowsTransformAnimation = true; |
60 | 60 |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 // user has changed to during OOBE. | 563 // user has changed to during OOBE. |
564 if (!timezone_name.empty()) { | 564 if (!timezone_name.empty()) { |
565 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( | 565 icu::TimeZone* timezone = icu::TimeZone::createTimeZone( |
566 icu::UnicodeString::fromUTF8(timezone_name)); | 566 icu::UnicodeString::fromUTF8(timezone_name)); |
567 CHECK(timezone) << "Timezone could not be set for " << timezone_name; | 567 CHECK(timezone) << "Timezone could not be set for " << timezone_name; |
568 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); | 568 chromeos::system::TimezoneSettings::GetInstance()->SetTimezone(*timezone); |
569 } | 569 } |
570 } | 570 } |
571 | 571 |
572 } // namespace browser | 572 } // namespace browser |
OLD | NEW |