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/options/network_config_view.h" | 5 #include "chrome/browser/chromeos/options/network_config_view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/browser/chromeos/login/login_display_host_impl.h" | 12 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
13 #include "chrome/browser/chromeos/login/user.h" | 13 #include "chrome/browser/chromeos/login/users/user.h" |
14 #include "chrome/browser/chromeos/options/network_property_ui_data.h" | 14 #include "chrome/browser/chromeos/options/network_property_ui_data.h" |
15 #include "chrome/browser/chromeos/options/vpn_config_view.h" | 15 #include "chrome/browser/chromeos/options/vpn_config_view.h" |
16 #include "chrome/browser/chromeos/options/wifi_config_view.h" | 16 #include "chrome/browser/chromeos/options/wifi_config_view.h" |
17 #include "chrome/browser/chromeos/options/wimax_config_view.h" | 17 #include "chrome/browser/chromeos/options/wimax_config_view.h" |
18 #include "chrome/browser/profiles/profile_manager.h" | 18 #include "chrome/browser/profiles/profile_manager.h" |
19 #include "chrome/browser/ui/browser.h" | 19 #include "chrome/browser/ui/browser.h" |
20 #include "chrome/browser/ui/browser_finder.h" | 20 #include "chrome/browser/ui/browser_finder.h" |
21 #include "chrome/browser/ui/browser_window.h" | 21 #include "chrome/browser/ui/browser_window.h" |
22 #include "chrome/browser/ui/host_desktop.h" | 22 #include "chrome/browser/ui/host_desktop.h" |
23 #include "chromeos/login/login_state.h" | 23 #include "chromeos/login/login_state.h" |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 image_view_ = new views::ImageView(); | 351 image_view_ = new views::ImageView(); |
352 // Disable |image_view_| so mouse events propagate to the parent. | 352 // Disable |image_view_| so mouse events propagate to the parent. |
353 image_view_->SetEnabled(false); | 353 image_view_->SetEnabled(false); |
354 image_view_->SetImage(image_); | 354 image_view_->SetImage(image_); |
355 image_view_->SetTooltipText( | 355 image_view_->SetTooltipText( |
356 l10n_util::GetStringUTF16(IDS_OPTIONS_CONTROLLED_SETTING_POLICY)); | 356 l10n_util::GetStringUTF16(IDS_OPTIONS_CONTROLLED_SETTING_POLICY)); |
357 AddChildView(image_view_); | 357 AddChildView(image_view_); |
358 } | 358 } |
359 | 359 |
360 } // namespace chromeos | 360 } // namespace chromeos |
OLD | NEW |