Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: ash/common/system/tray/tray_bar_button_with_title.h

Issue 2186153002: Removed unused TrayBarButtonWithTitle class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed IDR_SLIDER_ACTIVE_RIGHT resources. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/tray/tray_bar_button_with_title.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_bar_button_with_title.h
diff --git a/ash/common/system/tray/tray_bar_button_with_title.h b/ash/common/system/tray/tray_bar_button_with_title.h
deleted file mode 100644
index 582ad4c51572c10ce51c98013d48562c708a8274..0000000000000000000000000000000000000000
--- a/ash/common/system/tray/tray_bar_button_with_title.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef ASH_COMMON_SYSTEM_TRAY_TRAY_BAR_BUTTON_WITH_TITLE_H_
-#define ASH_COMMON_SYSTEM_TRAY_TRAY_BAR_BUTTON_WITH_TITLE_H_
-
-#include "base/macros.h"
-#include "ui/views/controls/button/custom_button.h"
-
-namespace views {
-class Label;
-}
-
-namespace ash {
-
-// A button with a bar image and title text below the bar image. These buttons
-// will be used in audio and brightness control UI, which can be toggled with
-// on/off states.
-class TrayBarButtonWithTitle : public views::CustomButton {
- public:
- TrayBarButtonWithTitle(views::ButtonListener* listener,
- int title_id,
- int width);
- ~TrayBarButtonWithTitle() override;
-
- void UpdateButton(bool control_on);
-
- private:
- class TrayBarButton;
-
- // Overridden from views::CustomButton:
- gfx::Size GetPreferredSize() const override;
- void Layout() override;
-
- TrayBarButton* image_;
- views::Label* title_;
- int width_;
- int image_height_;
-
- DISALLOW_COPY_AND_ASSIGN(TrayBarButtonWithTitle);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_TRAY_TRAY_BAR_BUTTON_WITH_TITLE_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/common/system/tray/tray_bar_button_with_title.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698