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

Unified Diff: ui/views/debug_utils.cc

Issue 2453133002: [ash-md] Makes Wi-Fi header row sticky when network list is scrolled (Closed)
Patch Set: [ash-md] Makes Wi-Fi header row sticky when network list is scrolled (fixed targeting) Created 4 years, 2 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: ui/views/debug_utils.cc
diff --git a/ui/views/debug_utils.cc b/ui/views/debug_utils.cc
index b451c2da50ee621da8f2a0c5c7c2be3ca8751cf7..10becc065c480c4cab17aa734ffceaf0051ae1ab 100644
--- a/ui/views/debug_utils.cc
+++ b/ui/views/debug_utils.cc
@@ -20,10 +20,12 @@ void PrintViewHierarchyImp(const View* view,
*out << view->GetClassName();
*out << ' ';
*out << view->id();
+ *out << '/';
+ *out << view->GetGroup();
*out << ' ';
- *out << view->x() << "," << view->y() << ",";
- *out << view->bounds().right() << "," << view->bounds().bottom();
- *out << ' ';
+ *out << view->x() << "," << view->y() << " (";
+ *out << view->bounds().width() << "x" << view->bounds().height();
+ *out << ") ";
*out << view;
*out << '\n';

Powered by Google App Engine
This is Rietveld 408576698