
If a change contains many more files than the default-shown number of files (more than 1,000 files) the show-all button may briefly lock-up the browser while they render. Thanks to I50da91908, the performance is vastly improved, but can still cause the page to be briefly unresponsive on extremely large changes. With this change, a tooltip warns the user that clicking show-all may cause brief unresponsiveness. Because the link may or may not have a tooltip, GR-TOOLTIP-BEHAVIOR is upgraded to use configuration that is not set at "attached" time. Bug: Issue 5657 Change-Id: I850a63d5561576b2f9b33e347c583adfee2aa695
27 lines
965 B
HTML
27 lines
965 B
HTML
<!--
|
|
Copyright (C) 2017 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
|
<link rel="import" href="../../../behaviors/gr-tooltip-behavior/gr-tooltip-behavior.html">
|
|
|
|
<dom-module id="gr-tooltip-content">
|
|
<template>
|
|
<content></content><!--
|
|
--><span class="arrow" hidden$="[[!showIcon]]">ⓘ</span>
|
|
</template>
|
|
<script src="gr-tooltip-content.js"></script>
|
|
</dom-module>
|