Forward accessibility events to the automation extension process.
[chromium-blink-merge.git] / components / html_viewer / blink_resource_constants.h
blob76242e39c9666eaf54e8ef254e996d90e7115d8e
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 {"mediaplayerPauseHover", IDR_MEDIAPLAYER_PAUSE_BUTTON_HOVER},
23 {"mediaplayerPauseDown", IDR_MEDIAPLAYER_PAUSE_BUTTON_DOWN},
24 {"mediaplayerPlay", IDR_MEDIAPLAYER_PLAY_BUTTON},
25 {"mediaplayerPlayHover", IDR_MEDIAPLAYER_PLAY_BUTTON_HOVER},
26 {"mediaplayerPlayDown", IDR_MEDIAPLAYER_PLAY_BUTTON_DOWN},
27 {"mediaplayerPlayDisabled", IDR_MEDIAPLAYER_PLAY_BUTTON_DISABLED},
28 {"mediaplayerSoundLevel3", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON},
29 {"mediaplayerSoundLevel3Hover", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_HOVER},
30 {"mediaplayerSoundLevel3Down", IDR_MEDIAPLAYER_SOUND_LEVEL3_BUTTON_DOWN},
31 {"mediaplayerSoundLevel2", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON},
32 {"mediaplayerSoundLevel2Hover", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_HOVER},
33 {"mediaplayerSoundLevel2Down", IDR_MEDIAPLAYER_SOUND_LEVEL2_BUTTON_DOWN},
34 {"mediaplayerSoundLevel1", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON},
35 {"mediaplayerSoundLevel1Hover", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_HOVER},
36 {"mediaplayerSoundLevel1Down", IDR_MEDIAPLAYER_SOUND_LEVEL1_BUTTON_DOWN},
37 {"mediaplayerSoundLevel0", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON},
38 {"mediaplayerSoundLevel0Hover", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_HOVER},
39 {"mediaplayerSoundLevel0Down", IDR_MEDIAPLAYER_SOUND_LEVEL0_BUTTON_DOWN},
40 {"mediaplayerSoundDisabled", IDR_MEDIAPLAYER_SOUND_DISABLED},
41 {"mediaplayerSliderThumb", IDR_MEDIAPLAYER_SLIDER_THUMB},
42 {"mediaplayerSliderThumbHover", IDR_MEDIAPLAYER_SLIDER_THUMB_HOVER},
43 {"mediaplayerSliderThumbDown", IDR_MEDIAPLAYER_SLIDER_THUMB_DOWN},
44 {"mediaplayerVolumeSliderThumb", IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB},
45 {"mediaplayerVolumeSliderThumbHover",
46 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_HOVER},
47 {"mediaplayerVolumeSliderThumbDown",
48 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DOWN},
49 {"mediaplayerVolumeSliderThumbDisabled",
50 IDR_MEDIAPLAYER_VOLUME_SLIDER_THUMB_DISABLED},
51 {"mediaplayerClosedCaption", IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON},
52 {"mediaplayerClosedCaptionHover",
53 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_HOVER},
54 {"mediaplayerClosedCaptionDown",
55 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DOWN},
56 {"mediaplayerClosedCaptionDisabled",
57 IDR_MEDIAPLAYER_CLOSEDCAPTION_BUTTON_DISABLED},
58 {"mediaplayerFullscreen", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON},
59 {"mediaplayerFullscreenHover", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_HOVER},
60 {"mediaplayerFullscreenDown", IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DOWN},
61 {"mediaplayerCastOff", IDR_MEDIAPLAYER_CAST_BUTTON_OFF},
62 {"mediaplayerCastOn", IDR_MEDIAPLAYER_CAST_BUTTON_ON},
63 {"mediaplayerFullscreenDisabled",
64 IDR_MEDIAPLAYER_FULLSCREEN_BUTTON_DISABLED},
65 {"mediaplayerOverlayCastOff", IDR_MEDIAPLAYER_OVERLAY_CAST_BUTTON_OFF},
66 {"mediaplayerOverlayPlay", IDR_MEDIAPLAYER_OVERLAY_PLAY_BUTTON},
67 {"panIcon", IDR_PAN_SCROLL_ICON},
68 {"searchCancel", IDR_SEARCH_CANCEL},
69 {"searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED},
70 {"searchMagnifier", IDR_SEARCH_MAGNIFIER},
71 {"searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS},
72 {"textAreaResizeCorner", IDR_TEXTAREA_RESIZER},
73 // Skipping "textAreaResizeCorner@2x"
74 {"generatePassword", IDR_PASSWORD_GENERATION_ICON},
75 {"generatePasswordHover", IDR_PASSWORD_GENERATION_ICON_HOVER},
76 {"html.css", IDR_UASTYLE_HTML_CSS},
77 {"quirks.css", IDR_UASTYLE_QUIRKS_CSS},
78 {"view-source.css", IDR_UASTYLE_VIEW_SOURCE_CSS},
79 {"themeChromium.css", IDR_UASTYLE_THEME_CHROMIUM_CSS},
80 #if defined(OS_ANDROID)
81 {"themeChromiumAndroid.css", IDR_UASTYLE_THEME_CHROMIUM_ANDROID_CSS},
82 {"mediaControlsAndroid.css", IDR_UASTYLE_MEDIA_CONTROLS_ANDROID_CSS},
83 #endif
84 #if !defined(OS_WIN)
85 {"themeChromiumLinux.css", IDR_UASTYLE_THEME_CHROMIUM_LINUX_CSS},
86 #endif
87 {"themeChromiumSkia.css", IDR_UASTYLE_THEME_CHROMIUM_SKIA_CSS},
88 {"themeInputMultipleFields.css",
89 IDR_UASTYLE_THEME_INPUT_MULTIPLE_FIELDS_CSS},
90 #if defined(OS_MACOSX)
91 {"themeMac.css", IDR_UASTYLE_THEME_MAC_CSS},
92 #endif
93 {"themeWin.css", IDR_UASTYLE_THEME_WIN_CSS},
94 {"themeWinQuirks.css", IDR_UASTYLE_THEME_WIN_QUIRKS_CSS},
95 {"svg.css", IDR_UASTYLE_SVG_CSS},
96 {"mathml.css", IDR_UASTYLE_MATHML_CSS},
97 {"mediaControls.css", IDR_UASTYLE_MEDIA_CONTROLS_CSS},
98 {"fullscreen.css", IDR_UASTYLE_FULLSCREEN_CSS},
99 {"xhtmlmp.css", IDR_UASTYLE_XHTMLMP_CSS},
100 {"viewportAndroid.css", IDR_UASTYLE_VIEWPORT_ANDROID_CSS},
101 {"InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML},
102 {"InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS},
103 {"DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS},
104 {"DocumentExecCommand.js", IDR_PRIVATE_SCRIPT_DOCUMENTEXECCOMMAND_JS},
105 {"DocumentXMLTreeViewer.css", IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_CSS},
106 {"DocumentXMLTreeViewer.js", IDR_PRIVATE_SCRIPT_DOCUMENTXMLTREEVIEWER_JS},
107 {"HTMLMarqueeElement.js", IDR_PRIVATE_SCRIPT_HTMLMARQUEEELEMENT_JS},
108 {"PluginPlaceholderElement.js",
109 IDR_PRIVATE_SCRIPT_PLUGINPLACEHOLDERELEMENT_JS},
110 {"PrivateScriptRunner.js", IDR_PRIVATE_SCRIPT_PRIVATESCRIPTRUNNER_JS},
111 #ifdef IDR_PICKER_COMMON_JS
112 {"pickerCommon.js", IDR_PICKER_COMMON_JS},
113 {"pickerCommon.css", IDR_PICKER_COMMON_CSS},
114 {"calendarPicker.js", IDR_CALENDAR_PICKER_JS},
115 {"calendarPicker.css", IDR_CALENDAR_PICKER_CSS},
116 {"pickerButton.css", IDR_PICKER_BUTTON_CSS},
117 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS},
118 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS},
119 {"colorSuggestionPicker.js", IDR_COLOR_SUGGESTION_PICKER_JS},
120 {"colorSuggestionPicker.css", IDR_COLOR_SUGGESTION_PICKER_CSS}
121 #endif
124 } // namespace html_viewer
126 #endif // COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_