| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/background_view.h" | 5 #include "chrome/browser/chromeos/login/background_view.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/common/chrome_version_info.h" | 24 #include "chrome/common/chrome_version_info.h" |
| 25 #include "googleurl/src/gurl.h" | 25 #include "googleurl/src/gurl.h" |
| 26 #include "grit/chromium_strings.h" | 26 #include "grit/chromium_strings.h" |
| 27 #include "grit/generated_resources.h" | 27 #include "grit/generated_resources.h" |
| 28 #include "grit/theme_resources.h" | 28 #include "grit/theme_resources.h" |
| 29 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" | 29 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" |
| 30 #include "ui/base/l10n/l10n_util.h" | 30 #include "ui/base/l10n/l10n_util.h" |
| 31 #include "ui/base/resource/resource_bundle.h" | 31 #include "ui/base/resource/resource_bundle.h" |
| 32 #include "ui/base/x/x11_util.h" | 32 #include "ui/base/x/x11_util.h" |
| 33 #include "ui/gfx/gtk_util.h" | 33 #include "ui/gfx/gtk_util.h" |
| 34 #include "ui/views/widget/widget.h" | |
| 35 #include "views/controls/button/text_button.h" | 34 #include "views/controls/button/text_button.h" |
| 36 #include "views/controls/label.h" | 35 #include "views/controls/label.h" |
| 36 #include "views/widget/widget.h" |
| 37 | 37 |
| 38 #if defined(TOOLKIT_USES_GTK) | 38 #if defined(TOOLKIT_USES_GTK) |
| 39 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h" | 39 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h" |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 using views::Widget; | 42 using views::Widget; |
| 43 | 43 |
| 44 namespace { | 44 namespace { |
| 45 | 45 |
| 46 const SkColor kVersionColor = 0xff5c739f; | 46 const SkColor kVersionColor = 0xff5c739f; |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 #if defined(TOOLKIT_USES_GTK) | 336 #if defined(TOOLKIT_USES_GTK) |
| 337 std::vector<int> params; | 337 std::vector<int> params; |
| 338 WmIpc::instance()->SetWindowType( | 338 WmIpc::instance()->SetWindowType( |
| 339 GTK_WIDGET(GetNativeWindow()), | 339 GTK_WIDGET(GetNativeWindow()), |
| 340 WM_IPC_WINDOW_LOGIN_BACKGROUND, | 340 WM_IPC_WINDOW_LOGIN_BACKGROUND, |
| 341 ¶ms); | 341 ¶ms); |
| 342 #endif | 342 #endif |
| 343 } | 343 } |
| 344 | 344 |
| 345 } // namespace chromeos | 345 } // namespace chromeos |
| OLD | NEW |