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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js

Issue 2286963002: DevTools: Turn *Model events into symbols (Closed)
Patch Set: Add SourcesTextEditor events 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/sdk/RuntimeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
index 64592f574ec91d83425ebccd515fab1f1ddecba7..350ba9248e471c0e0a611b032eb7cd48b358ddff 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
@@ -53,10 +53,10 @@ WebInspector.RuntimeModel = function(target)
/** @enum {symbol} */
WebInspector.RuntimeModel.Events = {
- ExecutionContextCreated: ("ExecutionContextCreated"),
- ExecutionContextDestroyed: ("ExecutionContextDestroyed"),
- ExecutionContextChanged: ("ExecutionContextChanged"),
- ExecutionContextOrderChanged: ("ExecutionContextOrderChanged")
+ ExecutionContextCreated: Symbol("ExecutionContextCreated"),
+ ExecutionContextDestroyed: Symbol("ExecutionContextDestroyed"),
+ ExecutionContextChanged: Symbol("ExecutionContextChanged"),
+ ExecutionContextOrderChanged: Symbol("ExecutionContextOrderChanged")
}
WebInspector.RuntimeModel._privateScript = "private script";

Powered by Google App Engine
This is Rietveld 408576698