OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ |
6 #define COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ | 6 #define COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ |
7 | 7 |
8 #include "blink/public/resources/grit/blink_image_resources.h" | 8 #include "blink/public/resources/grit/blink_image_resources.h" |
9 #include "blink/public/resources/grit/blink_resources.h" | 9 #include "blink/public/resources/grit/blink_resources.h" |
| 10 #include "build/build_config.h" |
10 | 11 |
11 namespace html_viewer { | 12 namespace html_viewer { |
12 | 13 |
13 struct DataResource { | 14 struct DataResource { |
14 const char* name; | 15 const char* name; |
15 int id; | 16 int id; |
16 }; | 17 }; |
17 | 18 |
18 const DataResource kDataResources[] = { | 19 const DataResource kDataResources[] = { |
19 {"missingImage", IDR_BROKENIMAGE}, | 20 {"missingImage", IDR_BROKENIMAGE}, |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS}, | 105 {"suggestionPicker.js", IDR_SUGGESTION_PICKER_JS}, |
105 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS}, | 106 {"suggestionPicker.css", IDR_SUGGESTION_PICKER_CSS}, |
106 {"colorSuggestionPicker.js", IDR_COLOR_SUGGESTION_PICKER_JS}, | 107 {"colorSuggestionPicker.js", IDR_COLOR_SUGGESTION_PICKER_JS}, |
107 {"colorSuggestionPicker.css", IDR_COLOR_SUGGESTION_PICKER_CSS} | 108 {"colorSuggestionPicker.css", IDR_COLOR_SUGGESTION_PICKER_CSS} |
108 #endif | 109 #endif |
109 }; | 110 }; |
110 | 111 |
111 } // namespace html_viewer | 112 } // namespace html_viewer |
112 | 113 |
113 #endif // COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ | 114 #endif // COMPONENTS_HTML_VIEWER_BLINK_RESOURCE_CONSTANTS_H_ |
OLD | NEW |