1 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/iron-flex-layout/classes/iron-flex-layout.html">
3 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
4 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_collapse/cr_collapse.html">
5 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_input/cr_input.html">
7 <dom-module id=
"cr-search-engine-adder">
8 <link rel=
"import" type=
"css" href=
"search_engine_adder.css">
10 <div class=
"add-label layout horizontal center justified">
11 <span i18n-content=
"searchEnginesAddSearchEngineLabel"></span>
12 <cr-expand-button expanded=
"{{opened}}"></cr-expand-button>
14 <cr-collapse opened=
"{{opened}}">
15 <div class=
"container layout horizontal">
16 <div class=
"input-field flex two">
17 <div class=
"input-label" i18n-content=
"searchEnginesDomainLabel">
19 <cr-input id=
"domainField" auto-validate=
"false" required
>
22 <div class=
"input-field flex two">
23 <div class=
"input-label" i18n-content=
"searchEnginesKeywordLabel">
25 <cr-input id=
"keywordField" auto-validate=
"false" required
>
28 <div class=
"input-field flex four">
29 <div class=
"input-label" i18n-content=
"searchEnginesQueryURLLabel">
31 <cr-input id=
"queryURLField" auto-validate=
"false" required
>
34 <div class=
"layout horizontal center">
35 <cr-button i18n-content=
"searchEnginesAddButtonLabel"
36 on-click=
"{{add_}}" raised
>
42 <script src=
"search_engine_adder.js"></script>