diff options
| -rw-r--r-- | chrome/browser/chromeos/status/power_menu_button.cc | 8 | ||||
| -rw-r--r-- | chrome/browser/chromeos/status/power_menu_button.h | 5 |
2 files changed, 2 insertions, 11 deletions
diff --git a/chrome/browser/chromeos/status/power_menu_button.cc b/chrome/browser/chromeos/status/power_menu_button.cc index 51bdb56..8e9d020 100644 --- a/chrome/browser/chromeos/status/power_menu_button.cc +++ b/chrome/browser/chromeos/status/power_menu_button.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -221,12 +221,6 @@ PowerMenuButton::~PowerMenuButton() { DBusThreadManager::Get()->GetPowerManagerClient()->RemoveObserver(this); } -// PowerMenuButton, views::MenuDelegate implementation: - -string16 PowerMenuButton::GetLabel(int id) const { - return string16(); -} - string16 PowerMenuButton::GetBatteryIsChargedText() const { // The second item shows the battery is charged if it is. if (battery_percentage_ >= 100 && line_power_on_) diff --git a/chrome/browser/chromeos/status/power_menu_button.h b/chrome/browser/chromeos/status/power_menu_button.h index 165e54b..c30c39c 100644 --- a/chrome/browser/chromeos/status/power_menu_button.h +++ b/chrome/browser/chromeos/status/power_menu_button.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -34,9 +34,6 @@ class PowerMenuButton : public StatusAreaButton, explicit PowerMenuButton(StatusAreaButton::Delegate* delegate); virtual ~PowerMenuButton(); - // views::MenuDelegate implementation. - virtual string16 GetLabel(int id) const OVERRIDE; - // PowerManagerClient::Observer implementation. virtual void PowerChanged(const PowerSupplyStatus& power_status) OVERRIDE; virtual void SystemResumed() OVERRIDE {} |
