Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / html_viewer / blink_resource_constants.h
blob282c16f115f224c9731434c22129a849ac8c5668
1 // Copyright 2015 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 #ifndef COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_
6 #define COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_
8 #include "blink/public/resources/grit/blink_image_resources.h"
9 #include "blink/public/resources/grit/blink_resources.h"
11 namespace html_viewer {
13 struct DataResource {
14 const char* name;
15 int id;
18 const DataResource kDataResources[] = {
19 {"missingImage", IDR_BROKENIMAGE},
20 // Skipping missingImage@2x
21 {"mediaplayerPause", IDR_MEDIAPLAYER_PAUSE_BUTTON},
22 {"mediaplayerPauseNew", IDR_MEDIAPLAYER_PAUSE_BUTTON_NEW},
23 {"mediaplayerPauseHover", IDR_MEDIAPLAYER_PAUSE_BUTTON_HOVER},
24 {"mediaplayerPauseDown", IDR_MEDIAPLAYER_PAUSE_BUTTON_DOWN},
25 {"mediaplayerPlay", IDR_MEDIAPLAYER_PLAY_BUTTON},
26 {"mediaplayerPlayNew", IDR_MEDIAPLAYER_PLAY_BUTTON_NEW},
27 {"mediaplayerPlayHover", IDR_MEDIAPLAYER_PLAY_BUTTON_HOVER},
28 {"mediaplayerPlayDown", IDR_MEDIAPLAYER_PLAY_BUTTON_DOWN},
29 {"mediaplayerPlayDisabled", IDR_MEDIAPLAYER_PLAY_BUTTON_DISABLED},
30 {"mediaplayerSoundLevel3", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON},
31 {"mediaplayerSoundLevel3New", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_NEW},
32 {"mediaplayerSoundLevel3Hover", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER},
33 {"mediaplayerSoundLevel3Down", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN},
34 {"mediaplayerSoundLevel2", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON},
35 {"mediaplayerSoundLevel2Hover", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER},
36 {"mediaplayerSoundLevel2Down", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN},
37 {"mediaplayerSoundLevel1", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON},
38 {"mediaplayerSoundLevel1Hover", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER},
39 {"mediaplayerSoundLevel1Down", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN},
40 {"mediaplayerSoundLevel0", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON},
41 {"mediaplayerSoundLevel0New", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_NEW},
42 {"mediaplayerSoundLevel0Hover", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER},
43 {"mediaplayerSoundLevel0Down", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN},
44 {"mediaplayerSoundDisabled", IDR_MEDIAPLAYER_SOUND_DISABLED},
45 {"mediaplayerSliderThumb", IDR_MEDIAPLAYER_SLIDER_THUMB},
46 {"mediaplayerSliderThumbNew", IDR_MEDIAPLAYER_SLIDER_THUMB_NEW},
47 {"mediaplayerSliderThumbHover", IDR_MEDIAPLAYER_SLIDER_THUMB_HOVER},
48 {"mediaplayerSliderThumbDown", IDR_MEDIAPLAYER_SLIDER_THUMB_DOWN},
49 {"mediaplayerVolumeSliderThumb", IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB},
50 {"mediaplayerVolumeSliderThumbNew",
51 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_NEW},
52 {"mediaplayerVolumeSliderThumbHover",
53 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER},
54 {"mediaplayerVolumeSliderThumbDown",
55 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN},
56 {"mediaplayerVolumeSliderThumbDisabled",
57 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED},
58 {"mediaplayerClosedCaption", IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON},
59 {"mediaplayerClosedCaptionNew", IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_NEW},
60 {"mediaplayerClosedCaptionHover",
61 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER},
62 {"mediaplayerClosedCaptionDown",
63 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN},
64 {"mediaplayerClosedCaptionDisabled",
65 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED},
66 {"mediaplayerClosedCaptionDisabledNew",
67 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED_NEW},
68 {"mediaplayerEnterFullscreen", IDR_MEDIAPLAYER_ENTER_FULLSCREEN_BUTTON},
69 {"mediaplayerFullscreen", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON},
70 {"mediaplayerFullscreenHover", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER},
71 {"mediaplayerFullscreenDown", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN},
72 {"mediaplayerExitEnterFullscreen", IDR_MEDIAPLAYER_EXIT_FULLSCREEN_BUTTON},
73 {"mediaplayerCastOff", IDR_MEDIAPLAYER_CAST_BUTTON_OFF},
74 {"mediaplayerCastOffNew", IDR_MEDIAPLAYER_CAST_BUTTON_OFF_NEW},
75 {"mediaplayerCastOn", IDR_MEDIAPLAYER_CAST_BUTTON_ON},
76 {"mediaplayerCastOnNew", IDR_MEDIAPLAYER_CAST_BUTTON_ON_NEW},
77 {"mediaplayerFullscreenDisabled",
78 IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED},
79 {"mediaplayerOverlayCastOff", IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF},
80 {"mediaplayerOverlayCastOffNew",
81 IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF_NEW},
82 {"mediaplayerOverlayPlay", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON},
83 {"mediaplayerOverlayPlayNew", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON_NEW},
84 {"searchCancel", IDR_SEARCH_CANCEL},
85 {"searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED},
86 {"searchMagnifier", IDR_SEARCH_MAGNIFIER},
87 {"searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS},
88 {"textAreaResizeCorner", IDR_TEXTAREA_RESIZER},
89 // Skipping "textAreaResizeCorner@2x"
90 {"generatePassword", IDR_PASSWORD_GENERATION_ICON},
91 {"generatePasswordHover", IDR_PASSWORD_GENERATION_ICON_HOVER},
92 {"html.css", IDR_UASTYLE_HTML_CSS},
93 {"quirks.css", IDR_UASTYLE_QUIRKS_CSS},
94 {"view-source.css", IDR_UASTYLE_VIEW_SOURCE_CSS},
95 {"themeChromium.css", IDR_UASTYLE_THEME_CHROMIUM_CSS},
96 #if defined(OS_ANDROID)
97 {"themeChromiumAndroid.css", IDR_UASTYLE_THEME_CHROMIUM_ANDROID_CSS},
98 {"mediaControlsAndroid.css", IDR_UASTYLE_MEDIA_CONTROLS_ANDROID_CSS},
99 #endif
100 #if !defined(OS_WIN)
101 {"themeChromiumLinux.css", IDR_UASTYLE_THEME_CHROMIUM_LINUX_CSS},
102 #endif
103 {"themeChromiumSkia.css", IDR_UASTYLE_THEME_CHROMIUM_SKIA_CSS},
104 {"themeInputMultipleFields.css",
105 IDR_UASTYLE_THEME_INPUT_MULTIPLE_FIELDS_CSS},
106 #if defined(OS_MACOSX)
107 {"themeMac.css", IDR_UASTYLE_THEME_MAC_CSS},
108 #endif
109 {"themeWin.css", IDR_UASTYLE_THEME_WIN_CSS},
110 {"themeWinQuirks.css", IDR_UASTYLE_THEME_WIN_QUIRKS_CSS},
111 {"svg.css", IDR_UASTYLE_SVG_CSS},
112 {"mathml.css", IDR_UASTYLE_MATHML_CSS},
113 {"mediaControls.css", IDR_UASTYLE_MEDIA_CONTROLS_CSS},
114 {"fullscreen.css", IDR_UASTYLE_FULLSCREEN_CSS},
115 {"xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS},
116 {"viewportAndroid.css", IDR_UASTYLE_VIEWPORT_ANDROID_CSS},
117 {"InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML},
118 {"InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS},
119 {"DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS},
120 {"DocumentExecCommand.js", IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS},
121 {"DocumentXMLTreeViewer.css", IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_CSS},
122 {"DocumentXMLTreeViewer.js", IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_JS},
123 {"HTMLMarqueeElement.js", IDR_PRIVATE_SCRIPT_HTMLMARQUEEELEMENT_JS},
124 {"PluginPlaceholderElement.js",
125 IDR_PRIVATE_SCRIPT_PLUGINPLACEHOLDERELEMENT_JS},
126 {"PrivateScriptRunner.js", IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS},
127 #ifdef IDR_PICKER_COMMON_JS
128 {"pickerCommon.js", IDR_PICKER_COMMON_JS},
129 {"pickerCommon.css", IDR_PICKER_COMMON_CSS},
130 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS},
131 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS},
132 {"pickerButton.css", IDR_PICKER_BUTTON_CSS},
133 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS},
134 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS},
135 {"colorSuggestionPicker.js", IDR_COLOR_SUGGESTION_PICKER_JS},
136 {"colorSuggestionPicker.css", IDR_COLOR_SUGGESTION_PICKER_CSS}
137 #endif
140 } // namespace html_viewer
142 #endif // COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_