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

Side by Side Diff: ash/common/shelf/shelf_constants.cc

Issue 2706403013: Remove non-MD code from StatusAreaWidgetDelegate (Closed)
Patch Set: Rebased 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 unified diff | Download patch
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/system/status_area_widget_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/shelf/shelf_constants.h" 5 #include "ash/common/shelf/shelf_constants.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 const int kTimeToSwitchBackgroundMs = 1000; 12 const int kTimeToSwitchBackgroundMs = 1000;
13 const int kWorkspaceAreaVisibleInset = 2; 13 const int kWorkspaceAreaVisibleInset = 2;
14 const int kWorkspaceAreaAutoHideInset = 5; 14 const int kWorkspaceAreaAutoHideInset = 5;
15 const int kShelfAutoHideSize = 3; 15 const int kShelfAutoHideSize = 3;
16 const int kShelfItemInset = 3;
17 const SkColor kShelfDefaultBaseColor = SK_ColorBLACK; 16 const SkColor kShelfDefaultBaseColor = SK_ColorBLACK;
18 const int kShelfButtonSize = 48; 17 const int kShelfButtonSize = 48;
19 const int kShelfButtonSpacing = 16; 18 const int kShelfButtonSpacing = 16;
20 const SkColor kShelfButtonActivatedHighlightColor = 19 const SkColor kShelfButtonActivatedHighlightColor =
21 SkColorSetA(SK_ColorWHITE, 100); 20 SkColorSetA(SK_ColorWHITE, 100);
22 const SkColor kShelfInkDropBaseColor = SK_ColorWHITE; 21 const SkColor kShelfInkDropBaseColor = SK_ColorWHITE;
23 const float kShelfInkDropVisibleOpacity = 0.2f; 22 const float kShelfInkDropVisibleOpacity = 0.2f;
24 const SkColor kShelfIconColor = SK_ColorWHITE; 23 const SkColor kShelfIconColor = SK_ColorWHITE;
25 const int kShelfTranslucentAlpha = 153; 24 const int kShelfTranslucentAlpha = 153;
26 const int kOverflowButtonSize = 32; 25 const int kOverflowButtonSize = 32;
(...skipping 11 matching lines...) Expand all
38 case SHELF_SIZE: 37 case SHELF_SIZE:
39 return kShelfSize[mode]; 38 return kShelfSize[mode];
40 case SHELF_INSETS_FOR_AUTO_HIDE: 39 case SHELF_INSETS_FOR_AUTO_HIDE:
41 return kShelfInsetsForAutoHide[mode]; 40 return kShelfInsetsForAutoHide[mode];
42 } 41 }
43 NOTREACHED(); 42 NOTREACHED();
44 return 0; 43 return 0;
45 } 44 }
46 45
47 } // namespace ash 46 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/shelf/shelf_constants.h ('k') | ash/common/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698