1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/views/theme_image_mapper.h"
7 #include "grit/theme_resources.h"
11 int MapThemeImage(HostDesktopType desktop_type
, int resource
) {
12 #if !defined(OS_CHROMEOS)
13 if (desktop_type
!= HOST_DESKTOP_TYPE_NATIVE
)
17 case IDR_CONTENT_TOP_CENTER
:
18 return IDR_CONTENT_TOP_CENTER_DESKTOP
;
20 return IDR_OTR_ICON_DESKTOP
;
22 return IDR_THEME_FRAME_DESKTOP
;
23 case IDR_THEME_FRAME_INACTIVE
:
24 return IDR_THEME_FRAME_INACTIVE_DESKTOP
;
25 case IDR_THEME_FRAME_INCOGNITO
:
26 return IDR_THEME_FRAME_INCOGNITO_DESKTOP
;
27 case IDR_THEME_FRAME_INCOGNITO_INACTIVE
:
28 return IDR_THEME_FRAME_INCOGNITO_INACTIVE_DESKTOP
;
29 case IDR_THEME_TAB_BACKGROUND
:
30 return IDR_THEME_TAB_BACKGROUND_DESKTOP
;
31 case IDR_THEME_TAB_BACKGROUND_INCOGNITO
:
32 return IDR_THEME_TAB_BACKGROUND_INCOGNITO_DESKTOP
;
33 case IDR_THEME_TOOLBAR
:
34 return IDR_THEME_TOOLBAR_DESKTOP
;
38 #endif // !defined(OS_CHROMEOS)