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

Side by Side Diff: ash/desktop_background/desktop_background_resources.h

Issue 10492003: Use a #fefefe solid color wallpaper background before user login for GAIA login flow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk Created 8 years, 6 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 | Annotate | Revision Log
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 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_ 5 #ifndef ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_
6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_ 6 #define ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 enum WallpaperLayout { 12 enum WallpaperLayout {
13 CENTER, 13 CENTER,
14 CENTER_CROPPED, 14 CENTER_CROPPED,
15 STRETCH, 15 STRETCH,
16 TILE, 16 TILE,
17 }; 17 };
18 18
19 struct ASH_EXPORT WallpaperInfo { 19 struct ASH_EXPORT WallpaperInfo {
20 int id; 20 int id;
21 int thumb_id; 21 int thumb_id;
22 WallpaperLayout layout; 22 WallpaperLayout layout;
23 // TODO(bshe): author member should be encoded to UTF16. We need to use i18n 23 // TODO(bshe): author member should be encoded to UTF16. We need to use i18n
24 // string for this member after M19. 24 // string for this member after M19.
25 const char* author; 25 const char* author;
26 const char* website; 26 const char* website;
27 }; 27 };
28 28
29 #define SK_ColorWallpaperLogin 0xFEFEFE
Daniel Erat 2012/06/11 16:06:06 make this be a const variable named something like
bshe 2012/06/11 17:04:15 Done.
30
31 ASH_EXPORT int GetSolidColorIndex();
29 ASH_EXPORT int GetInvalidWallpaperIndex(); 32 ASH_EXPORT int GetInvalidWallpaperIndex();
30 ASH_EXPORT int GetDefaultWallpaperIndex(); 33 ASH_EXPORT int GetDefaultWallpaperIndex();
31 ASH_EXPORT int GetGuestWallpaperIndex(); 34 ASH_EXPORT int GetGuestWallpaperIndex();
32 ASH_EXPORT int GetRandomWallpaperIndex(); 35 ASH_EXPORT int GetRandomWallpaperIndex();
33 ASH_EXPORT int GetWallpaperCount(); 36 ASH_EXPORT int GetWallpaperCount();
34 ASH_EXPORT const WallpaperInfo& GetWallpaperInfo(int index); 37 ASH_EXPORT const WallpaperInfo& GetWallpaperInfo(int index);
35 38
36 } // namespace ash 39 } // namespace ash
37 40
38 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_ 41 #endif // ASH_DESKTOP_BACKGROUND_DESKTOP_BACKGROUND_RESOURCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698