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

Unified Diff: Source/devtools/front_end/ResourceTreeModel.js

Issue 84643002: Update the metrics side bar pane and computed style pane after main frame resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Throttling the pane updates! Created 7 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
Index: Source/devtools/front_end/ResourceTreeModel.js
diff --git a/Source/devtools/front_end/ResourceTreeModel.js b/Source/devtools/front_end/ResourceTreeModel.js
index 88c9e25a82e6960a68326352b7314f6c0b0ca2cf..fae6a474c8f9907b300e6681f93cb2b450232714 100644
--- a/Source/devtools/front_end/ResourceTreeModel.js
+++ b/Source/devtools/front_end/ResourceTreeModel.js
@@ -56,6 +56,7 @@ WebInspector.ResourceTreeModel.EventTypes = {
FrameAdded: "FrameAdded",
FrameNavigated: "FrameNavigated",
FrameDetached: "FrameDetached",
+ FrameResized: "FrameResized",
MainFrameNavigated: "MainFrameNavigated",
MainFrameCreatedOrNavigated: "MainFrameCreatedOrNavigated",
ResourceAdded: "ResourceAdded",
@@ -713,6 +714,11 @@ WebInspector.PageDispatcher.prototype = {
{
},
+ frameResized: function()
+ {
+ this._resourceTreeModel.dispatchEventToListeners(WebInspector.ResourceTreeModel.EventTypes.FrameResized, null);
+ },
+
javascriptDialogOpening: function(message)
{
},

Powered by Google App Engine
This is Rietveld 408576698