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

Unified Diff: ash/system/tray/fixed_sized_image_view.h

Issue 2056683003: mash: Move tray_constants.h and FixedSizedImageView to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/system/status_area_widget_delegate.cc ('k') | ash/system/tray/fixed_sized_image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/fixed_sized_image_view.h
diff --git a/ash/system/tray/fixed_sized_image_view.h b/ash/system/tray/fixed_sized_image_view.h
deleted file mode 100644
index fefd13b83d360b52f53b20627bfaa3fe798faceb..0000000000000000000000000000000000000000
--- a/ash/system/tray/fixed_sized_image_view.h
+++ /dev/null
@@ -1,33 +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_SYSTEM_TRAY_FIXED_SIZED_IMAGE_VIEW_H_
-#define ASH_SYSTEM_TRAY_FIXED_SIZED_IMAGE_VIEW_H_
-
-#include "base/compiler_specific.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_SYSTEM_TRAY_FIXED_SIZED_IMAGE_VIEW_H_
« no previous file with comments | « ash/system/status_area_widget_delegate.cc ('k') | ash/system/tray/fixed_sized_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698