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

Side by Side Diff: ui/keyboard/resources/elements/kb-options-menu.html

Issue 98073012: Add unit test for lock and unlock virtual keyboard feature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 -- Copyright 2013 The Chromium Authors. All rights reserved. 2 -- Copyright 2013 The Chromium Authors. All rights reserved.
3 -- Use of this source code is governed by a BSD-style license that can be 3 -- Use of this source code is governed by a BSD-style license that can be
4 -- found in the LICENSE file. 4 -- found in the LICENSE file.
5 --> 5 -->
6 6
7 <polymer-element name="kb-options-menu-item" attributes="layout label active" 7 <polymer-element name="kb-options-menu-item" attributes="layout label active"
8 on-pointerup="up" on-pointerover="over" on-pointerout="out"> 8 on-pointerup="up" on-pointerover="over" on-pointerout="out">
9 <template> 9 <template>
10 <style> 10 <style>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 125 }
126 } 126 }
127 </style> 127 </style>
128 <!-- Insert popups here. --> 128 <!-- Insert popups here. -->
129 <kb-options-menu id="options" hidden></kb-options-menu> 129 <kb-options-menu id="options" hidden></kb-options-menu>
130 </template> 130 </template>
131 <script> 131 <script>
132 Polymer('kb-keyboard-overlay', { 132 Polymer('kb-keyboard-overlay', {
133 up: function() { 133 up: function() {
134 this.hidden = true; 134 this.hidden = true;
135 },
136
137 hiddenChanged: function() {
138 this.fire('stateChange', {
139 state: 'overlayVisibility',
140 value: !!this.hidden
141 });
135 } 142 }
136 }); 143 });
137 </script> 144 </script>
138 </polymer-element> 145 </polymer-element>
OLDNEW
« no previous file with comments | « ui/keyboard/resources/elements/kb-keyset.html ('k') | ui/keyboard/resources/elements/kb-shift-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698