| OLD | NEW |
| 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/status/network_dropdown_button.h" | 5 #include "chrome/browser/chromeos/status/network_dropdown_button.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/chromeos/cros/cros_library.h" | 8 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 9 #include "chrome/browser/chromeos/options/network_config_view.h" | 9 #include "chrome/browser/chromeos/options/network_config_view.h" |
| 10 #include "chrome/browser/chromeos/status/status_area_host.h" | 10 #include "chrome/browser/chromeos/status/status_area_host.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 animation_connecting_.Stop(); | 133 animation_connecting_.Stop(); |
| 134 SetIcon(SkBitmap()); | 134 SetIcon(SkBitmap()); |
| 135 SetText(UTF16ToWide( | 135 SetText(UTF16ToWide( |
| 136 l10n_util::GetStringUTF16(IDS_STATUSBAR_NO_NETWORKS_MESSAGE))); | 136 l10n_util::GetStringUTF16(IDS_STATUSBAR_NO_NETWORKS_MESSAGE))); |
| 137 } | 137 } |
| 138 | 138 |
| 139 SchedulePaint(); | 139 SchedulePaint(); |
| 140 UpdateMenu(); | 140 UpdateMenu(); |
| 141 } | 141 } |
| 142 | 142 |
| 143 views::MenuButton* NetworkDropdownButton::GetMenuButton() { |
| 144 return this; |
| 145 } |
| 146 |
| 143 } // namespace chromeos | 147 } // namespace chromeos |
| OLD | NEW |