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

Side by Side Diff: ash/launcher/launcher_types.cc

Issue 98373006: Animating docked background in sync with shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Animating docked background in sync with shelf (rebase) Created 7 years 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/launcher/launcher_types.h ('k') | ash/resources/ash_resources.grd » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/launcher/launcher_types.h" 5 #include "ash/launcher/launcher_types.h"
6 6
7 namespace ash { 7 namespace ash {
8 8
9 const int kLauncherPreferredSize = 48; 9 const int kLauncherPreferredSize = 48;
10 const int kLauncherBackgroundAlpha = 204; 10 const int kLauncherBackgroundAlpha = 204;
11 const int kInvalidImageResourceID = -1; 11 const int kInvalidImageResourceID = -1;
12 const int kInvalidLauncherID = 0; 12 const int kInvalidLauncherID = 0;
13 const int kTimeToSwitchBackgroundMs = 1000;
13 14
14 LauncherItem::LauncherItem() 15 LauncherItem::LauncherItem()
15 : type(TYPE_UNDEFINED), 16 : type(TYPE_UNDEFINED),
16 id(kInvalidLauncherID), 17 id(kInvalidLauncherID),
17 status(STATUS_CLOSED) { 18 status(STATUS_CLOSED) {
18 } 19 }
19 20
20 LauncherItem::~LauncherItem() { 21 LauncherItem::~LauncherItem() {
21 } 22 }
22 23
23 LauncherItemDetails::LauncherItemDetails() 24 LauncherItemDetails::LauncherItemDetails()
24 : type(TYPE_UNDEFINED), 25 : type(TYPE_UNDEFINED),
25 image_resource_id(kInvalidImageResourceID) { 26 image_resource_id(kInvalidImageResourceID) {
26 } 27 }
27 28
28 LauncherItemDetails::~LauncherItemDetails() { 29 LauncherItemDetails::~LauncherItemDetails() {
29 } 30 }
30 31
31 } // namespace ash 32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/launcher/launcher_types.h ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698