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

Unified Diff: ui/views/widget/widget.cc

Issue 863173004: More class names for views class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « ui/views/bubble/bubble_delegate.cc ('k') | ui/views/widget/widget_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 15f7f1352c258c37391faa7df1fc3a7d163130c7..1a8031d4a0cc9adb02acea9a9476dce77fe1f6b7 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -599,7 +599,9 @@ bool Widget::IsClosed() const {
}
void Widget::Show() {
- TRACE_EVENT0("views", "Widget::Show");
+ const ui::Layer* layer = GetLayer();
+ TRACE_EVENT1("views", "Widget::Show", "layer",
+ layer ? layer->name() : "none");
if (non_client_view_) {
// While initializing, the kiosk mode will go to full screen before the
// widget gets shown. In that case we stay in full screen mode, regardless
« no previous file with comments | « ui/views/bubble/bubble_delegate.cc ('k') | ui/views/widget/widget_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698