OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ |
| 6 #define UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "ui/views/controls/native/native_view_host.h" |
| 12 |
| 13 namespace exo { |
| 14 class NotificationSurface; |
| 15 } |
| 16 |
| 17 namespace arc { |
| 18 |
| 19 class ArcCustomNotificationView : public views::NativeViewHost { |
| 20 public: |
| 21 explicit ArcCustomNotificationView(exo::NotificationSurface* surface); |
| 22 ~ArcCustomNotificationView() override; |
| 23 |
| 24 private: |
| 25 // views::NativeViewHost |
| 26 void ViewHierarchyChanged( |
| 27 const ViewHierarchyChangedDetails& details) override; |
| 28 |
| 29 exo::NotificationSurface* surface_; |
| 30 |
| 31 DISALLOW_COPY_AND_ASSIGN(ArcCustomNotificationView); |
| 32 }; |
| 33 |
| 34 } // namespace arc |
| 35 |
| 36 #endif // UI_ARC_NOTIFICATION_ARC_CUSTOM_NOTIFICATION_VIEW_H_ |
OLD | NEW |