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

Unified Diff: chrome/browser/resources/chromeos/keyboard_overlay.js

Issue 2865793002: Remove the BackspaceGoesBack flag. (Closed)
Patch Set: Created 3 years, 7 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: chrome/browser/resources/chromeos/keyboard_overlay.js
diff --git a/chrome/browser/resources/chromeos/keyboard_overlay.js b/chrome/browser/resources/chromeos/keyboard_overlay.js
index 86a3ab02549f204147a3c19a8ae80845840565e8..4da70771d5dd5bcfd2f07bd05880359ca15d3699 100644
--- a/chrome/browser/resources/chromeos/keyboard_overlay.js
+++ b/chrome/browser/resources/chromeos/keyboard_overlay.js
@@ -227,13 +227,8 @@ function getShortcutData() {
delete shortcutDataCache['0<>CTRL<>SHIFT'];
}
- if (!loadTimeData.getBoolean('backspaceGoesBackFeatureEnabled')) {
- // If the "backspace key goes back" experiment is not enabled, then we
- // clear the shortcuts for Backspace and Shift+Backspace to go back or
- // forward respectively.
- delete shortcutDataCache['backspace'];
- delete shortcutDataCache['backspace<>SHIFT'];
- }
+ delete shortcutDataCache['backspace'];
+ delete shortcutDataCache['backspace<>SHIFT'];
Peter Kasting 2017/05/06 04:56:13 Do we need these lines anymore?
ojan 2017/05/10 18:07:06 I don't know. I was just maintaining behavior with
michaelpg 2017/05/10 23:41:51 shortcutDataCache starts with these keys populated
return shortcutDataCache;
}

Powered by Google App Engine
This is Rietveld 408576698