diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/chrome/browser/resources/nearby_internals | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/chrome/browser/resources/nearby_internals')
6 files changed, 78 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/nearby_internals/BUILD.gn b/chromium/chrome/browser/resources/nearby_internals/BUILD.gn new file mode 100644 index 00000000000..71c035040b5 --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/BUILD.gn @@ -0,0 +1,21 @@ +# Copyright 2020 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. + +import("//third_party/closure_compiler/compile_js.gni") +import("//tools/polymer/html_to_js.gni") + +js_type_check("closure_compile") { + is_polymer3 = true + deps = [ ":nearby_internals" ] +} + +js_library("nearby_internals") { + deps = [ + "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", + ] +} + +html_to_js("web_components") { + js_files = [ "nearby_internals.js" ] +} diff --git a/chromium/chrome/browser/resources/nearby_internals/OWNERS b/chromium/chrome/browser/resources/nearby_internals/OWNERS new file mode 100644 index 00000000000..19414dc942a --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/OWNERS @@ -0,0 +1,4 @@ +file://chrome/browser/nearby_sharing/OWNERS +khorimoto@chromium.org + +# COMPONENT: OS>Systems>Multidevice>Nearby diff --git a/chromium/chrome/browser/resources/nearby_internals/index.html b/chromium/chrome/browser/resources/nearby_internals/index.html new file mode 100644 index 00000000000..eb4fd150fc2 --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/index.html @@ -0,0 +1,17 @@ +<!doctype html> +<html dir="$i18n{textdirection}" lang="$i18n{language}"> + <head> + <meta charset="utf-8"> + <base href="chrome://nearby-internals"> + <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> + <style> + body { + margin: 0; + } + </style> + </head> + <body> + <nearby-internals></nearby-internals> + <script type="module" src="nearby_internals.js"></script> + </body> +</html> diff --git a/chromium/chrome/browser/resources/nearby_internals/nearby_internals.html b/chromium/chrome/browser/resources/nearby_internals/nearby_internals.html new file mode 100644 index 00000000000..ff39aaf9aee --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/nearby_internals.html @@ -0,0 +1 @@ +<h1>Hello, world!!</h1> diff --git a/chromium/chrome/browser/resources/nearby_internals/nearby_internals.js b/chromium/chrome/browser/resources/nearby_internals/nearby_internals.js new file mode 100644 index 00000000000..a7f1da3568b --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/nearby_internals.js @@ -0,0 +1,11 @@ +// Copyright 2020 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. + +import {html, Polymer} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; + +Polymer({ + is: 'nearby-internals', + + _template: html`{__html_template__}`, +}); diff --git a/chromium/chrome/browser/resources/nearby_internals/nearby_internals_resources.grd b/chromium/chrome/browser/resources/nearby_internals/nearby_internals_resources.grd new file mode 100644 index 00000000000..d7477df60d6 --- /dev/null +++ b/chromium/chrome/browser/resources/nearby_internals/nearby_internals_resources.grd @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<grit latest_public_release="0" current_release="1" output_all_resource_defines="false"> + <outputs> + <output filename="grit/nearby_internals_resources.h" type="rc_header"> + <emit emit_type='prepend'></emit> + </output> + <output filename="grit/nearby_internals_resources_map.cc" + type="resource_file_map_source" /> + <output filename="grit/nearby_internals_resources_map.h" + type="resource_map_header" /> + <output filename="nearby_internals_resources.pak" type="data_package" /> + </outputs> + <release seq="1"> + <includes> + <include name="IDR_NEARBY_INTERNALS_INDEX_HTML" + file="index.html" + type="BINDATA"/> + <include name="IDR_NEARBY_INTERNALS_NEARBY_INTERNALS_JS" + file="${root_gen_dir}\chrome\browser\resources\nearby_internals\nearby_internals.js" + use_base_dir="false" + type="BINDATA"/> + </includes> + </release> +</grit> |