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

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

Issue 97983003: Start the move of launcher_types.h to shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: the rename 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 | Annotate | Revision Log
« no previous file with comments | « ash/launcher/launcher_types.h ('k') | ash/shelf/app_list_button.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 (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 #include "ash/shelf/shelf_constants.h"
8
7 namespace ash { 9 namespace ash {
8 10
9 const int kLauncherPreferredSize = 48;
10 const int kLauncherBackgroundAlpha = 204;
11 const int kInvalidImageResourceID = -1;
12 const int kInvalidLauncherID = 0;
13 const int kTimeToSwitchBackgroundMs = 1000;
14
15 LauncherItem::LauncherItem() 11 LauncherItem::LauncherItem()
16 : type(TYPE_UNDEFINED), 12 : type(TYPE_UNDEFINED),
17 id(kInvalidLauncherID), 13 id(kInvalidShelfID),
18 status(STATUS_CLOSED) { 14 status(STATUS_CLOSED) {
19 } 15 }
20 16
21 LauncherItem::~LauncherItem() { 17 LauncherItem::~LauncherItem() {
22 } 18 }
23 19
24 LauncherItemDetails::LauncherItemDetails() 20 LauncherItemDetails::LauncherItemDetails()
25 : type(TYPE_UNDEFINED), 21 : type(TYPE_UNDEFINED),
26 image_resource_id(kInvalidImageResourceID) { 22 image_resource_id(kInvalidImageResourceID) {
27 } 23 }
28 24
29 LauncherItemDetails::~LauncherItemDetails() { 25 LauncherItemDetails::~LauncherItemDetails() {
30 } 26 }
31 27
32 } // namespace ash 28 } // namespace ash
OLDNEW
« no previous file with comments | « ash/launcher/launcher_types.h ('k') | ash/shelf/app_list_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698