OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SYSTEM_TOAST_TOAST_OVERLAY_H_ | 5 #ifndef ASH_SYSTEM_TOAST_TOAST_OVERLAY_H_ |
6 #define ASH_COMMON_SYSTEM_TOAST_TOAST_OVERLAY_H_ | 6 #define ASH_SYSTEM_TOAST_TOAST_OVERLAY_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 "base/optional.h" | 11 #include "base/optional.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "ui/compositor/layer_animation_observer.h" | 13 #include "ui/compositor/layer_animation_observer.h" |
14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
15 #include "ui/events/event_constants.h" | 15 #include "ui/events/event_constants.h" |
16 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const base::Optional<base::string16> dismiss_text_; | 69 const base::Optional<base::string16> dismiss_text_; |
70 std::unique_ptr<views::Widget> overlay_widget_; | 70 std::unique_ptr<views::Widget> overlay_widget_; |
71 std::unique_ptr<ToastOverlayView> overlay_view_; | 71 std::unique_ptr<ToastOverlayView> overlay_view_; |
72 gfx::Size widget_size_; | 72 gfx::Size widget_size_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(ToastOverlay); | 74 DISALLOW_COPY_AND_ASSIGN(ToastOverlay); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace ash | 77 } // namespace ash |
78 | 78 |
79 #endif // ASH_COMMON_SYSTEM_TOAST_TOAST_OVERLAY_H_ | 79 #endif // ASH_SYSTEM_TOAST_TOAST_OVERLAY_H_ |
OLD | NEW |