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

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

Issue 2664113004: Reland: mash: Fix MusPropertyMirrorAsh for owned properties; add test. (Closed)
Patch Set: Sync and rebase. Created 3 years, 11 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_constants.h ('k') | ash/common/test/BUILD.gn » ('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
index ea021bb7d78c9b6cb019ffe1af3037c6c1bf7009..62d279eb6bcdbc615f63169ac3a56227293a4c91 100644
--- a/ash/common/shelf/shelf_item_types.h
+++ b/ash/common/shelf/shelf_item_types.h
@@ -1,60 +1,22 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// 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/common/shelf/shelf_constants.h"
+#include "ash/public/cpp/shelf_types.h"
#include "base/strings/string16.h"
#include "ui/gfx/image/image_skia.h"
namespace ash {
-typedef int ShelfID;
-
-// The type of a shelf item.
-enum ShelfItemType {
- // Represents a running app panel.
- TYPE_APP_PANEL,
-
- // Represents a pinned shortcut to an app.
- TYPE_APP_SHORTCUT,
-
- // Toggles visiblity of the app list.
- TYPE_APP_LIST,
-
- // The browser shortcut button.
- TYPE_BROWSER_SHORTCUT,
-
- // Represents an app: Extension "V1" (legacy packaged and hosted) apps,
- // Extension "V2" (platform) apps,
- // Arc (App Runtime for Chrome - Android Play Store) apps.
- TYPE_APP,
-
- // Represents a dialog.
- TYPE_DIALOG,
-
- // Default value.
- TYPE_UNDEFINED,
-};
-
-// Represents the status of applications in the shelf.
-enum ShelfItemStatus {
- // A closed shelf item, i.e. has no live instance.
- STATUS_CLOSED,
- // A shelf item that has live instance.
- STATUS_RUNNING,
- // An active shelf item that has focus.
- STATUS_ACTIVE,
- // A shelf item that needs user's attention.
- STATUS_ATTENTION,
-};
-
struct ASH_EXPORT ShelfItem {
ShelfItem();
ShelfItem(const ShelfItem& shelf_item);
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698