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

Side by Side Diff: chrome/browser/resources/md_history/lazy_load.vulcanized.html

Issue 2272553002: MD WebUI: Use arrow keys for navigation in cr-shared-menu, close on tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dbeam@ review comments Created 4 years, 2 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
1 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 513 }
514 514
515 </style> 515 </style>
516 516
517 <div id="contentWrapper"> 517 <div id="contentWrapper">
518 <content id="content" select=".dropdown-content"></content> 518 <content id="content" select=".dropdown-content"></content>
519 </div> 519 </div>
520 </template> 520 </template>
521 521
522 </dom-module> 522 </dom-module>
523 <dom-module id="paper-listbox" assetpath="chrome://resources/polymer/v1_0/paper- listbox/" css-build="shadow">
524 <template>
525 <style scope="paper-listbox">:host {
526 display: block;
527 padding: 8px 0;
528
529 background: var(--paper-listbox-background-color,var(--primary-backgroun d-color));;
530 color: var(--paper-listbox-color,var(--primary-text-color));;
531
532 ;
533 }
534
535 </style>
536
537 <content></content>
538 </template>
539
540 </dom-module>
523 <dom-module id="cr-shared-menu" assetpath="chrome://resources/cr_elements/cr_sha red_menu/" css-build="shadow"> 541 <dom-module id="cr-shared-menu" assetpath="chrome://resources/cr_elements/cr_sha red_menu/" css-build="shadow">
524 <template> 542 <template>
525 <style scope="cr-shared-menu">#menu { 543 <style scope="cr-shared-menu">paper-listbox {
526 box-shadow: var(--shadow-elevation-2dp_-_box-shadow); 544 box-shadow: var(--shadow-elevation-2dp_-_box-shadow);
527 background-color: white;
528 overflow: hidden; 545 overflow: hidden;
529 padding: 8px 0;
530 position: relative; 546 position: relative;
547 width: var(--cr-shared-menu-width);
531 } 548 }
532 549
533 </style> 550 </style>
534 <iron-dropdown id="dropdown" allow-outside-scroll="" restore-focus-on-close= "" vertical-align="auto" horizontal-align="right" opened="{{menuOpen}}" open-ani mation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimation Config]]"> 551 <iron-dropdown id="dropdown" allow-outside-scroll="" restore-focus-on-close= "" vertical-align="auto" horizontal-align="right" opened="{{menuOpen}}" open-ani mation-config="[[openAnimationConfig]]" close-animation-config="[[closeAnimation Config]]">
535 <div id="menu" class="dropdown-content" role="menu"> 552 <paper-listbox id="menu" class="dropdown-content">
536 <content></content> 553 <content></content>
537 </div> 554 </paper-listbox>
538 </iron-dropdown> 555 </iron-dropdown>
539 </template> 556 </template>
540 </dom-module> 557 </dom-module>
541 558
542 <dom-module id="paper-icon-button-light" assetpath="chrome://resources/polymer/v 1_0/paper-icon-button/" css-build="shadow"> 559 <dom-module id="paper-icon-button-light" assetpath="chrome://resources/polymer/v 1_0/paper-icon-button/" css-build="shadow">
543 <template strip-whitespace=""> 560 <template strip-whitespace="">
544 <style scope="paper-icon-button-light">:host { 561 <style scope="paper-icon-button-light">:host {
545 vertical-align: middle; 562 vertical-align: middle;
546 color: inherit; 563 color: inherit;
547 outline: none; 564 outline: none;
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 <content select="*"></content> 1598 <content select="*"></content>
1582 </div> 1599 </div>
1583 </div> 1600 </div>
1584 1601
1585 <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollB uttonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButto nUp" on-down="_onRightScrollButtonDown" tabindex="-1"></paper-icon-button> 1602 <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollB uttonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButto nUp" on-down="_onRightScrollButtonDown" tabindex="-1"></paper-icon-button>
1586 1603
1587 </template> 1604 </template>
1588 1605
1589 </dom-module> 1606 </dom-module>
1590 </div><script src="lazy_load.crisper.js"></script></body></html> 1607 </div><script src="lazy_load.crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/lazy_load.crisper.js ('k') | chrome/test/data/webui/cr_elements/cr_shared_menu_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698