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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js

Issue 1720973002: [DevTools] Add device type to custom device presets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js » ('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/emulation/DeviceModeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
index 14ed4df33182e0ee9fc713f9c901531cd69d62b0..b05b2c5b94fee4676844b53b94669bebfb968d2f 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js
@@ -76,10 +76,10 @@ WebInspector.DeviceModeModel.Type = {
/** @enum {string} */
WebInspector.DeviceModeModel.UA = {
- Mobile: "Mobile",
- MobileNoTouch: "MobileNoTouch",
- Desktop: "Desktop",
- DesktopTouch: "DesktopTouch"
+ Mobile: WebInspector.UIString("Mobile"),
+ MobileNoTouch: WebInspector.UIString("Mobile (no touch)"),
+ Desktop: WebInspector.UIString("Desktop"),
+ DesktopTouch: WebInspector.UIString("Desktop (touch)")
}
WebInspector.DeviceModeModel.MinDeviceSize = 50;
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698