Index: ash/common/system/tray/fixed_sized_image_view.h |
diff --git a/ash/common/system/tray/fixed_sized_image_view.h b/ash/common/system/tray/fixed_sized_image_view.h |
deleted file mode 100644 |
index 7f00613cdca957aa80fcec064e15d8ceab24df0e..0000000000000000000000000000000000000000 |
--- a/ash/common/system/tray/fixed_sized_image_view.h |
+++ /dev/null |
@@ -1,32 +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_FIXED_SIZED_IMAGE_VIEW_H_ |
-#define ASH_COMMON_SYSTEM_TRAY_FIXED_SIZED_IMAGE_VIEW_H_ |
- |
-#include "base/macros.h" |
-#include "ui/views/controls/image_view.h" |
- |
-namespace ash { |
- |
-// An image view with a specified width and height (kTrayPopupDetailsIconWidth). |
-// If the specified width or height is zero, then the image size is used for |
-// that dimension. |
-class FixedSizedImageView : public views::ImageView { |
- public: |
- FixedSizedImageView(int width, int height); |
- ~FixedSizedImageView() override; |
- |
- private: |
- gfx::Size GetPreferredSize() const override; |
- |
- int width_; |
- int height_; |
- |
- DISALLOW_COPY_AND_ASSIGN(FixedSizedImageView); |
-}; |
- |
-} // namespace ash |
- |
-#endif // ASH_COMMON_SYSTEM_TRAY_FIXED_SIZED_IMAGE_VIEW_H_ |