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

Unified Diff: ash/common/shelf/shelf_item_types.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/shelf/shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_item_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_item_types.h
diff --git a/ash/common/shelf/shelf_item_types.h b/ash/common/shelf/shelf_item_types.h
deleted file mode 100644
index 62d279eb6bcdbc615f63169ac3a56227293a4c91..0000000000000000000000000000000000000000
--- a/ash/common/shelf/shelf_item_types.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2017 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_SHELF_SHELF_ITEM_TYPES_H_
-#define ASH_COMMON_SHELF_SHELF_ITEM_TYPES_H_
-
-// TODO(msw): Rename these files to shelf_item.*; audit users.
-
-#include <string>
-#include <vector>
-
-#include "ash/ash_export.h"
-#include "ash/public/cpp/shelf_types.h"
-#include "base/strings/string16.h"
-#include "ui/gfx/image/image_skia.h"
-
-namespace ash {
-
-struct ASH_EXPORT ShelfItem {
- ShelfItem();
- ShelfItem(const ShelfItem& shelf_item);
- ~ShelfItem();
-
- ShelfItemType type = TYPE_UNDEFINED;
-
- // Image to display in the shelf.
- gfx::ImageSkia image;
-
- // Assigned by the model when the item is added.
- ShelfID id = kInvalidShelfID;
-
- // Running status.
- ShelfItemStatus status = STATUS_CLOSED;
-
- // The application id for this shelf item; only populated for some items.
- std::string app_id;
-
- // The title to display for tooltips, etc.
- base::string16 title;
-
- // Whether the tooltip should be shown on hover; generally true.
- bool shows_tooltip = true;
-
- // Whether the item is pinned by a policy preference (ie. user cannot un-pin).
- bool pinned_by_policy = false;
-};
-
-typedef std::vector<ShelfItem> ShelfItems;
-
-} // namespace ash
-
-#endif // ASH_COMMON_SHELF_SHELF_ITEM_TYPES_H_
« no previous file with comments | « ash/common/shelf/shelf_item_delegate.cc ('k') | ash/common/shelf/shelf_item_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698