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_COMMON_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ | 5 #ifndef ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ |
6 #define ASH_COMMON_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/common/shelf/shelf_item_delegate.h" | 11 #include "ash/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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 // Stores the source button of the last window minimize action. | 82 // Stores the source button of the last window minimize action. |
83 // NOTE: This may become stale and should not be operated on. Not owned. | 83 // NOTE: This may become stale and should not be operated on. Not owned. |
84 const views::Button* last_minimized_source_button_; | 84 const views::Button* last_minimized_source_button_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTracker); | 86 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTracker); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace ash | 89 } // namespace ash |
90 | 90 |
91 #endif // ASH_COMMON_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ | 91 #endif // ASH_SHELF_SHELF_BUTTON_PRESSED_METRIC_TRACKER_H_ |
OLD | NEW |