OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ | 5 #ifndef ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ |
6 #define ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ | 6 #define ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "ash/shelf/shelf_item_delegate.h" | 11 #include "ash/common/shelf/shelf_item_delegate.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/time/tick_clock.h" | 13 #include "base/time/tick_clock.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "ui/events/event.h" | 15 #include "ui/events/event.h" |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 class Button; | 18 class Button; |
19 } // namespace views | 19 } // namespace views |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Stores the source button of the last window minimize action. | 83 // Stores the source button of the last window minimize action. |
84 // NOTE: This may become stale and should not be operated on. Not owned. | 84 // NOTE: This may become stale and should not be operated on. Not owned. |
85 const views::Button* last_minimized_source_button_; | 85 const views::Button* last_minimized_source_button_; |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTracker); | 87 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTracker); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace ash | 90 } // namespace ash |
91 | 91 |
92 #endif // ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ | 92 #endif // ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ |
OLD | NEW |