Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: ui/file_manager/file_manager/foreground/js/tooltip_controller_unittest.html

Issue 1223693002: Add tooltips to the header buttons in Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved.
3 -- Use of this source code is governed by a BSD-style license that can be
4 -- found in the LICENSE file.
5 -->
6
7 <style type="text/css">
8 button {
9 display: flex;
10 height: 32px;
11 margin: 30px;
12 width: 32px;
13 }
14
15 #container {
16 display: flex;
17 justify-content: space-between;
18 }
19
20 #tooltip {
21 background: yellow;
22 position: absolute;
23 text-align: center;
24 width: 100px;
25 }
26 </style>
27
28 <div id="container">
29 <button id="chocolate" aria-label="Chocolate!"></button>
30 <button id="cherries" aria-label="Cherries!"></button>
31 </div>
32
33 <!-- Button without a tooltip. -->
34 <button id="other"></button>
35
36 <div id="tooltip">
37 <div id="tooltip-label"></div>
38 </div>
39
40 <script src="../../../../webui/resources/js/assert.js"></script>
41 <script src="../../../../webui/resources/js/util.js"></script>
42 <script src="../../common/js/unittest_util.js"></script>
43 <script src="tooltip_controller.js"></script>
44 <script src="tooltip_controller_unittest.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698