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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js

Issue 2417073002: Timeline: get layers panel out of experiment (Closed)
Patch Set: rebased Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/layers/module.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js b/third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js
index 69994bf9bdaa24cc2ee43a9c3f98d60e96631441..a63b17d65625a96362606039fb6caeca858d9eae 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/ShortcutsScreen.js
@@ -175,28 +175,24 @@ Components.ShortcutsScreen = class {
Common.UIString('Start/stop recording'));
// Layers panel
- if (Runtime.experiments.isEnabled('layersPanel')) {
- section = Components.shortcutsScreen.section(Common.UIString('Layers Panel'));
- section.addAlternateKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.ResetView, Common.UIString('Reset view'));
- section.addAlternateKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.PanMode, Common.UIString('Switch to pan mode'));
- section.addAlternateKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.RotateMode, Common.UIString('Switch to rotate mode'));
- section.addAlternateKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.TogglePanRotate,
- Common.UIString('Temporarily toggle pan/rotate mode while held'));
- section.addAlternateKeys(Components.ShortcutsScreen.LayersPanelShortcuts.ZoomIn, Common.UIString('Zoom in'));
- section.addAlternateKeys(Components.ShortcutsScreen.LayersPanelShortcuts.ZoomOut, Common.UIString('Zoom out'));
- section.addRelatedKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.Up.concat(
- Components.ShortcutsScreen.LayersPanelShortcuts.Down),
- Common.UIString('Pan or rotate up/down'));
- section.addRelatedKeys(
- Components.ShortcutsScreen.LayersPanelShortcuts.Left.concat(
- Components.ShortcutsScreen.LayersPanelShortcuts.Right),
- Common.UIString('Pan or rotate left/right'));
- }
+ section = Components.shortcutsScreen.section(Common.UIString('Layers Panel'));
+ section.addAlternateKeys(Components.ShortcutsScreen.LayersPanelShortcuts.ResetView, Common.UIString('Reset view'));
+ section.addAlternateKeys(
+ Components.ShortcutsScreen.LayersPanelShortcuts.PanMode, Common.UIString('Switch to pan mode'));
+ section.addAlternateKeys(
+ Components.ShortcutsScreen.LayersPanelShortcuts.RotateMode, Common.UIString('Switch to rotate mode'));
+ section.addAlternateKeys(
+ Components.ShortcutsScreen.LayersPanelShortcuts.TogglePanRotate,
+ Common.UIString('Temporarily toggle pan/rotate mode while held'));
+ section.addAlternateKeys(Components.ShortcutsScreen.LayersPanelShortcuts.ZoomIn, Common.UIString('Zoom in'));
+ section.addAlternateKeys(Components.ShortcutsScreen.LayersPanelShortcuts.ZoomOut, Common.UIString('Zoom out'));
+ section.addRelatedKeys(
+ Components.ShortcutsScreen.LayersPanelShortcuts.Up.concat(Components.ShortcutsScreen.LayersPanelShortcuts.Down),
+ Common.UIString('Pan or rotate up/down'));
+ section.addRelatedKeys(
+ Components.ShortcutsScreen.LayersPanelShortcuts.Left.concat(
+ Components.ShortcutsScreen.LayersPanelShortcuts.Right),
+ Common.UIString('Pan or rotate left/right'));
}
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/layers/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698