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

Side by Side Diff: chrome/browser/resources/md_history/side_bar.js

Issue 2282403002: [MD History] Clear ripple on CBD press. (Closed)
Patch Set: rebase Created 4 years, 3 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 | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 Polymer({ 5 Polymer({
6 is: 'history-side-bar', 6 is: 'history-side-bar',
7 7
8 behaviors: [Polymer.IronA11yKeysBehavior], 8 behaviors: [Polymer.IronA11yKeysBehavior],
9 9
10 properties: { 10 properties: {
(...skipping 26 matching lines...) Expand all
37 37
38 /** 38 /**
39 * Relocates the user to the clear browsing data section of the settings page. 39 * Relocates the user to the clear browsing data section of the settings page.
40 * @param {Event} e 40 * @param {Event} e
41 * @private 41 * @private
42 */ 42 */
43 onClearBrowsingDataTap_: function(e) { 43 onClearBrowsingDataTap_: function(e) {
44 var browserService = md_history.BrowserService.getInstance(); 44 var browserService = md_history.BrowserService.getInstance();
45 browserService.recordAction('InitClearBrowsingData'); 45 browserService.recordAction('InitClearBrowsingData');
46 browserService.openClearBrowsingData(); 46 browserService.openClearBrowsingData();
47 /** @type {PaperRippleElement} */(this.$['cbd-ripple']).upAction();
47 e.preventDefault(); 48 e.preventDefault();
48 }, 49 },
49 50
50 /** 51 /**
51 * @param {Object} route 52 * @param {Object} route
52 * @private 53 * @private
53 */ 54 */
54 getQueryString_: function(route) { return window.location.search; } 55 getQueryString_: function(route) { return window.location.search; }
55 }); 56 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698