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

Unified Diff: mash/shelf/shelf_constants.cc

Issue 1585363002: Fork a subset of ash/shelf for use in mash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ui/resources dep; comment out unused constants. Created 4 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 | « mash/shelf/shelf_constants.h ('k') | mash/shelf/shelf_item_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/shelf/shelf_constants.cc
diff --git a/ash/shelf/shelf_constants.cc b/mash/shelf/shelf_constants.cc
similarity index 72%
copy from ash/shelf/shelf_constants.cc
copy to mash/shelf/shelf_constants.cc
index 9a7c2dd83258ad6254cbed0f2655da90b78e9005..8da7f789c36bcc37d829c1008ed5f2d351f22289 100644
--- a/ash/shelf/shelf_constants.cc
+++ b/mash/shelf/shelf_constants.cc
@@ -2,15 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/shelf/shelf_constants.h"
+#include "mash/shelf/shelf_constants.h"
-namespace ash {
+namespace mash {
+namespace shelf {
const int kShelfBackgroundAlpha = 204;
const int kInvalidImageResourceID = -1;
+const int kInvalidShelfID = 0;
const int kShelfSize = 47;
const int kShelfButtonSpacing = 10;
const int kShelfButtonSize = 44;
const int kTimeToSwitchBackgroundMs = 1000;
-} // namespace ash
+} // namespace shelf
+} // namespace mash
« no previous file with comments | « mash/shelf/shelf_constants.h ('k') | mash/shelf/shelf_item_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698