Skip to content

Instantly share code, notes, and snippets.

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview 'settings-startup-url-dialog' is a component for adding
* or editing a startup URL entry.
*/
Polymer({
is: 'settings-restrict-keyword',
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/html/action_link.html">
<link rel="import" href="chrome://resources/html/action_link_css.html">
<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.html">
<link rel="import" href="../controls/extension_controlled_indicator.html">
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview 'settings-startup-url-dialog' is a component for adding
* or editing a startup URL entry.
*/
Polymer({
is: 'settings-restrict-keyword',
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/html/action_link.html">
<link rel="import" href="chrome://resources/html/action_link_css.html">
<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr/ui/focus_without_ink.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.html">
<link rel="import" href="../controls/extension_controlled_indicator.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
<link rel="import" href="../i18n_setup.html">
<link rel="import" href="startup_urls_page_browser_proxy.html">
<dom-module id="settings-startup-url-dialog">
<template>
// route.js L.15
* ANDROID_APPS_DETAILS: (undefined|!settings.Route),
* APPEARANCE: (undefined|!settings.Route),
* AUTOFILL: (undefined|!settings.Route),
// オリジナルファイル17行目から
// 追加部分
* RESTRICT_KEYWORD: (underfined|!settings.Route),
// 追加部分おわり
* BASIC: (undefined|!settings.Route),
* BLUETOOTH: (undefined|!settings.Route),
{
'targets': [
{
'target_name': 'restrict_keyword',
'dependencies': [],
'includes': ['../../../../../third_party/closure_compiler/compile_js2.gypi'],
},
],
}
<!-- settings_resources.grd L.1004 -->
type="chrome_html"
allowexternalscript="true" />
</if>
<!-- オリジナルファイル1006行目から -->
<!-- 追加部分 -->
<structure name="IDR_SETTINGS_RESTRICT_KEYWORD_JS"
file="restrict_keyword/restrict_keyword.js"
type="chrome_html"
preprocess="true" />
<!-- basic_page.html L.13 -->
<link rel="import" href="../settings_page/settings_section.html">
<link rel="import" href="../settings_page_css.html">
<link rel="import" href="../settings_vars_css.html">
<!-- オリジナルファイル15行目から -->
<!-- 追加部分 -->
<link rel="import" href="../restrict_keyword/restrict_keyword.html">
<!-- 追加部分終わり -->
<if expr="chromeos">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="../appearance_page/appearance_page.html">
<link rel="import" href="../change_password_page/change_password_page.html">
<link rel="import" href="../controls/settings_idle_load.html">
<link rel="import" href="../on_startup_page/on_startup_page.html">
<link rel="import" href="../people_page/people_page.html">
<link rel="import" href="../reset_page/reset_profile_banner.html">