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

Unified Diff: polymer_0.5.4/bower_components/core-menu/core-menu.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: polymer_0.5.4/bower_components/core-menu/core-menu.html
diff --git a/polymer_0.5.0/bower_components/core-menu/core-menu.html b/polymer_0.5.4/bower_components/core-menu/core-menu.html
similarity index 85%
copy from polymer_0.5.0/bower_components/core-menu/core-menu.html
copy to polymer_0.5.4/bower_components/core-menu/core-menu.html
index a3286c90fd131c5f4b3b87c26f374cc420fd89af..cba11c77730838f2c12210208a0e085917546fa1 100644
--- a/polymer_0.5.0/bower_components/core-menu/core-menu.html
+++ b/polymer_0.5.4/bower_components/core-menu/core-menu.html
@@ -15,7 +15,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<core-item icon="dialog" label="Dialog"></core-item>
<core-item icon="search" label="Search"></core-item>
</core-menu>
-
+
When an item is selected the `core-selected` class is added to it. The user can
use the class to add more stylings to the selected item.
@@ -56,13 +56,18 @@ The `core-select` event signals selection change.
-->
<link rel="import" href="../core-selector/core-selector.html">
+<link rel="import" href="../core-a11y-keys/core-a11y-keys.html">
<polymer-element name="core-menu" extends="core-selector" noscript>
<template>
<link rel="stylesheet" href="core-menu.css">
-
+
+ <core-a11y-keys target="{{}}" keys="up" on-keys-pressed="{{ selectPrevious }}"></core-a11y-keys>
+ <core-a11y-keys target="{{}}" keys="down" on-keys-pressed="{{ selectNext }}"></core-a11y-keys>
+ <core-a11y-keys target="{{}}" keys="enter" on-keys-pressed="{{ validateSelected }}"></core-a11y-keys>
+
<shadow></shadow>
-
+
</template>
</polymer-element>
« no previous file with comments | « polymer_0.5.4/bower_components/core-menu/core-menu.css ('k') | polymer_0.5.4/bower_components/core-menu/core-submenu.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698