| 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_menu_button.h" | 5 #include "chrome/browser/chromeos/status/network_menu_button.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 // NetworkMenuButton, NetworkMenu implementation: | 180 // NetworkMenuButton, NetworkMenu implementation: |
| 181 | 181 |
| 182 bool NetworkMenuButton::IsBrowserMode() const { | 182 bool NetworkMenuButton::IsBrowserMode() const { |
| 183 return host_->IsBrowserMode(); | 183 return host_->IsBrowserMode(); |
| 184 } | 184 } |
| 185 | 185 |
| 186 gfx::NativeWindow NetworkMenuButton::GetNativeWindow() const { | 186 gfx::NativeWindow NetworkMenuButton::GetNativeWindow() const { |
| 187 return host_->GetNativeWindow(); | 187 return host_->GetNativeWindow(); |
| 188 } | 188 } |
| 189 | 189 |
| 190 void NetworkMenuButton::OpenButtonOptions() const { | 190 void NetworkMenuButton::OpenButtonOptions() { |
| 191 host_->OpenButtonOptions(this); | 191 host_->OpenButtonOptions(this); |
| 192 } | 192 } |
| 193 | 193 |
| 194 bool NetworkMenuButton::ShouldOpenButtonOptions() const { | 194 bool NetworkMenuButton::ShouldOpenButtonOptions() const { |
| 195 return host_->ShouldOpenButtonOptions(this); | 195 return host_->ShouldOpenButtonOptions(this); |
| 196 } | 196 } |
| 197 | 197 |
| 198 } // namespace chromeos | 198 } // namespace chromeos |
| OLD | NEW |