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

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

Issue 2261933002: DevTools: Use JS symbols instead of strings for eligible events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/devtools/front_end/emulation/InspectedPagePlaceholder.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/InspectedPagePlaceholder.js b/third_party/WebKit/Source/devtools/front_end/emulation/InspectedPagePlaceholder.js
index 6b7c5e11d0feae9fd1fa94c3e6b44970f3d51d82..e9dcab2d6f871e7365717cfe1dc18ac981011445 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/InspectedPagePlaceholder.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/InspectedPagePlaceholder.js
@@ -15,8 +15,9 @@ WebInspector.InspectedPagePlaceholder = function()
this.restoreMinimumSizeAndMargins();
};
+/** @enum {symbol} */
WebInspector.InspectedPagePlaceholder.Events = {
- Update: "Update"
+ Update: Symbol("Update")
};
WebInspector.InspectedPagePlaceholder.MarginValue = 3;

Powered by Google App Engine
This is Rietveld 408576698