| OLD | NEW |
| 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 Loading... |
| 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 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 }); |
| OLD | NEW |