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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 10 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
Index: ash/common/system/tray/tray_popup_header_button.h
diff --git a/ash/common/system/tray/tray_popup_header_button.h b/ash/common/system/tray/tray_popup_header_button.h
deleted file mode 100644
index 6a2ffb1b337a6947ab9d66716dabeb262188d5d7..0000000000000000000000000000000000000000
--- a/ash/common/system/tray/tray_popup_header_button.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_POPUP_HEADER_BUTTON_H_
-#define ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_HEADER_BUTTON_H_
-
-#include "ash/ash_export.h"
-#include "base/macros.h"
-#include "ui/views/controls/button/image_button.h"
-
-namespace ash {
-
-// A ToggleImageButton with fixed size, paddings and hover effects. These
-// buttons are used in the header.
-class ASH_EXPORT TrayPopupHeaderButton : public views::ToggleImageButton {
- public:
- static const char kViewClassName[];
-
- TrayPopupHeaderButton(views::ButtonListener* listener,
- const gfx::ImageSkia& icon,
- int accessible_name_id);
- TrayPopupHeaderButton(views::ButtonListener* listener,
- int enabled_resource_id,
- int disabled_resource_id,
- int enabled_resource_id_hover,
- int disabled_resource_id_hover,
- int accessible_name_id);
- ~TrayPopupHeaderButton() override;
-
- private:
- // Overridden from views::View:
- const char* GetClassName() const override;
- gfx::Size GetPreferredSize() const override;
-
- // Overridden from views::CustomButton:
- void StateChanged(ButtonState old_state) override;
-
- void Initialize(const gfx::ImageSkia& icon, int accessible_name_id);
-
- DISALLOW_COPY_AND_ASSIGN(TrayPopupHeaderButton);
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_HEADER_BUTTON_H_
« no previous file with comments | « ash/common/system/tray/tray_notification_view.cc ('k') | ash/common/system/tray/tray_popup_header_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698