Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / components / webui_generator / data_source_util.cc
bloba3103cdc7cbb4db9a721d84e1f94eb03aa01fc18
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 #include "components/webui_generator/data_source_util.h"
6 #include "content/public/browser/web_ui_data_source.h"
7 #include "grit/components_resources.h"
9 namespace webui_generator {
11 void SetUpDataSource(content::WebUIDataSource* data_source) {
12 data_source->AddResourcePath("webui_generator/webui-view.html",
13 IDR_WUG_WEBUI_VIEW_HTML);
14 data_source->AddResourcePath("webui_generator/webui-view.js",
15 IDR_WUG_WEBUI_VIEW_JS);
16 data_source->AddResourcePath("webui_generator/context.js",
17 IDR_WUG_CONTEXT_JS);
18 data_source->AddResourcePath("webui_generator/context.html",
19 IDR_WUG_CONTEXT_HTML);
22 } // namespace webui_generator