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

Unified Diff: ash/common/system/tray/fixed_sized_image_view.cc

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
« no previous file with comments | « ash/common/system/tray/fixed_sized_image_view.h ('k') | ash/common/system/tray/hover_highlight_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/fixed_sized_image_view.cc
diff --git a/ash/common/system/tray/fixed_sized_image_view.cc b/ash/common/system/tray/fixed_sized_image_view.cc
deleted file mode 100644
index 5284be071a196e9fd108b86a80871c2dd8011688..0000000000000000000000000000000000000000
--- a/ash/common/system/tray/fixed_sized_image_view.cc
+++ /dev/null
@@ -1,20 +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.
-
-#include "ash/common/system/tray/fixed_sized_image_view.h"
-
-namespace ash {
-
-FixedSizedImageView::FixedSizedImageView(int width, int height)
- : width_(width), height_(height) {}
-
-FixedSizedImageView::~FixedSizedImageView() {}
-
-gfx::Size FixedSizedImageView::GetPreferredSize() const {
- gfx::Size size = views::ImageView::GetPreferredSize();
- return gfx::Size(width_ ? width_ : size.width(),
- height_ ? height_ : size.height());
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/system/tray/fixed_sized_image_view.h ('k') | ash/common/system/tray/hover_highlight_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698