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

Unified Diff: ash/common/devtools/ash_devtools_dom_agent.h

Issue 2498593002: Revert of Fix bug where removed (but not deleted) windows are not reflected in the tree properly (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | ash/common/devtools/ash_devtools_dom_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/devtools/ash_devtools_dom_agent.h
diff --git a/ash/common/devtools/ash_devtools_dom_agent.h b/ash/common/devtools/ash_devtools_dom_agent.h
index f4e90a286ac3519ba897183ca85de5a5288b6de6..760671f742105bb36dad4908993ab72fae3a4a7d 100644
--- a/ash/common/devtools/ash_devtools_dom_agent.h
+++ b/ash/common/devtools/ash_devtools_dom_agent.h
@@ -28,8 +28,7 @@
std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) override;
// WindowObserver
- void OnWindowTreeChanging(WmWindow* window,
- const TreeChangeParams& params) override;
+ void OnWindowDestroying(WmWindow* window) override;
void OnWindowTreeChanged(WmWindow* window,
const TreeChangeParams& params) override;
void OnWindowStackingChanged(WmWindow* window) override;
@@ -39,7 +38,7 @@
WmWindow* window);
std::unique_ptr<ui::devtools::protocol::DOM::Node> BuildInitialTree();
void AddWindowNode(WmWindow* window);
- void RemoveWindowNode(WmWindow* window);
+ void RemoveWindowNode(WmWindow* window, WmWindow* old_parent);
void RemoveObserverFromAllWindows();
void AddRootWindowObservers();
void Reset();
« no previous file with comments | « no previous file | ash/common/devtools/ash_devtools_dom_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698