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

Unified Diff: ash/common/shelf/wm_shelf.h

Issue 2549833002: Adds tracing to investigate infinite calls to SetAutoHideBehavior (Closed)
Patch Set: Adds tracing to investigate infinite calls to SetAutoHideBehavior (nits) 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
« no previous file with comments | « no previous file | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index 526b9c5f6878d4cda7f38e73ff08e52d0534d32f..b2800772eb3ad2720a9119c681683e4b774df511 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -11,6 +11,7 @@
#include "ash/common/shelf/shelf_layout_manager_observer.h"
#include "ash/public/cpp/shelf_types.h"
#include "base/observer_list.h"
+#include "base/time/time.h"
namespace gfx {
class Rect;
@@ -176,6 +177,10 @@ class ASH_EXPORT WmShelf : public ShelfLayoutManagerObserver {
base::ObserverList<WmShelfObserver> observers_;
+ // Temporary. Used to investigate http://crbug.com/665093 .
+ base::TimeTicks time_last_auto_hide_change_;
+ int count_auto_hide_changes_ = 0;
+
DISALLOW_COPY_AND_ASSIGN(WmShelf);
};
« no previous file with comments | « no previous file | ash/common/shelf/wm_shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698