| 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 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/chromeos/wm_ipc.h" | 26 #include "chrome/browser/chromeos/wm_ipc.h" |
| 27 #include "chrome/browser/policy/browser_policy_connector.h" | 27 #include "chrome/browser/policy/browser_policy_connector.h" |
| 28 #include "chrome/browser/profiles/profile_manager.h" | 28 #include "chrome/browser/profiles/profile_manager.h" |
| 29 #include "chrome/browser/ui/views/dom_view.h" | 29 #include "chrome/browser/ui/views/dom_view.h" |
| 30 #include "chrome/browser/ui/views/window.h" | 30 #include "chrome/browser/ui/views/window.h" |
| 31 #include "chrome/common/chrome_version_info.h" | 31 #include "chrome/common/chrome_version_info.h" |
| 32 #include "googleurl/src/gurl.h" | 32 #include "googleurl/src/gurl.h" |
| 33 #include "grit/chromium_strings.h" | 33 #include "grit/chromium_strings.h" |
| 34 #include "grit/generated_resources.h" | 34 #include "grit/generated_resources.h" |
| 35 #include "grit/theme_resources.h" | 35 #include "grit/theme_resources.h" |
| 36 #include "third_party/cros/chromeos_wm_ipc_enums.h" | 36 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" |
| 37 #include "ui/base/l10n/l10n_util.h" | 37 #include "ui/base/l10n/l10n_util.h" |
| 38 #include "ui/base/resource/resource_bundle.h" | 38 #include "ui/base/resource/resource_bundle.h" |
| 39 #include "ui/base/x/x11_util.h" | 39 #include "ui/base/x/x11_util.h" |
| 40 #include "ui/gfx/gtk_util.h" | 40 #include "ui/gfx/gtk_util.h" |
| 41 #include "views/controls/button/text_button.h" | 41 #include "views/controls/button/text_button.h" |
| 42 #include "views/controls/label.h" | 42 #include "views/controls/label.h" |
| 43 #include "views/widget/widget.h" | 43 #include "views/widget/widget.h" |
| 44 | 44 |
| 45 using views::Widget; | 45 using views::Widget; |
| 46 | 46 |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 376 |
| 377 void BackgroundView::UpdateWindowType() { | 377 void BackgroundView::UpdateWindowType() { |
| 378 std::vector<int> params; | 378 std::vector<int> params; |
| 379 WmIpc::instance()->SetWindowType( | 379 WmIpc::instance()->SetWindowType( |
| 380 GTK_WIDGET(GetNativeWindow()), | 380 GTK_WIDGET(GetNativeWindow()), |
| 381 WM_IPC_WINDOW_LOGIN_BACKGROUND, | 381 WM_IPC_WINDOW_LOGIN_BACKGROUND, |
| 382 ¶ms); | 382 ¶ms); |
| 383 } | 383 } |
| 384 | 384 |
| 385 } // namespace chromeos | 385 } // namespace chromeos |
| OLD | NEW |