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

Unified Diff: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js

Issue 2542073002: DevTools: [Persistence] validate persistence binding. (Closed)
Patch Set: add etst Created 4 years 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/workspace/UISourceCode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
index 13276a2301ef48154993f4275031e6a11c8dfe51..2b0be7d9d4945bbbf929728975e8fba9c44a2e87 100644
--- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
+++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
@@ -531,6 +531,7 @@ Workspace.UISourceCode = class extends Common.Object {
this._requestContentPromise = null;
callback.call(null, content);
+ this.dispatchEventToListeners(Workspace.UISourceCode.Events.ContentLoaded);
}
/**
@@ -654,6 +655,7 @@ Workspace.UISourceCode = class extends Common.Object {
/** @enum {symbol} */
Workspace.UISourceCode.Events = {
+ ContentLoaded: Symbol('ContentLoaded'),
WorkingCopyChanged: Symbol('WorkingCopyChanged'),
WorkingCopyCommitted: Symbol('WorkingCopyCommitted'),
TitleChanged: Symbol('TitleChanged'),

Powered by Google App Engine
This is Rietveld 408576698