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

Side by Side Diff: chrome/browser/resources/md_downloads/crisper.js

Issue 2171073002: MD Downloads: roll <paper-menu-button> to pick up restoreFocusOnClose change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@roll-polymer
Patch Set: . Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Assertion support. 6 * @fileoverview Assertion support.
7 */ 7 */
8 8
9 /** 9 /**
10 * Verify |condition| is truthy and return |condition| if so. 10 * Verify |condition| is truthy and return |condition| if so.
(...skipping 10537 matching lines...) Expand 10 before | Expand all | Expand 10 after
10548 * to itself when opened. 10548 * to itself when opened.
10549 * Set to true in order to prevent scroll from being constrained 10549 * Set to true in order to prevent scroll from being constrained
10550 * to the dropdown when it opens. 10550 * to the dropdown when it opens.
10551 */ 10551 */
10552 allowOutsideScroll: { 10552 allowOutsideScroll: {
10553 type: Boolean, 10553 type: Boolean,
10554 value: false 10554 value: false
10555 }, 10555 },
10556 10556
10557 /** 10557 /**
10558 * Whether focus should be restored to the button when the menu closes .
10559 */
10560 restoreFocusOnClose: {
10561 type: Boolean,
10562 value: true
10563 },
10564
10565 /**
10558 * This is the element intended to be bound as the focus target 10566 * This is the element intended to be bound as the focus target
10559 * for the `iron-dropdown` contained by `paper-menu-button`. 10567 * for the `iron-dropdown` contained by `paper-menu-button`.
10560 */ 10568 */
10561 _dropdownContent: { 10569 _dropdownContent: {
10562 type: Object 10570 type: Object
10563 } 10571 }
10564 }, 10572 },
10565 10573
10566 hostAttributes: { 10574 hostAttributes: {
10567 role: 'group', 10575 role: 'group',
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after
11948 Manager.get().updateItem_(index, data); 11956 Manager.get().updateItem_(index, data);
11949 }; 11957 };
11950 11958
11951 return {Manager: Manager}; 11959 return {Manager: Manager};
11952 }); 11960 });
11953 // Copyright 2015 The Chromium Authors. All rights reserved. 11961 // Copyright 2015 The Chromium Authors. All rights reserved.
11954 // Use of this source code is governed by a BSD-style license that can be 11962 // Use of this source code is governed by a BSD-style license that can be
11955 // found in the LICENSE file. 11963 // found in the LICENSE file.
11956 11964
11957 window.addEventListener('load', downloads.Manager.onLoad); 11965 window.addEventListener('load', downloads.Manager.onLoad);
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698