Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 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 ASH_COMMON_SYSTEM_VIEW_OBSERVER_H_ | |
| 6 #define ASH_COMMON_SYSTEM_VIEW_OBSERVER_H_ | |
| 7 | |
| 8 #include "ash/ash_export.h" | |
| 9 #include "base/macros.h" | |
| 10 #include "ui/views/widget/widget.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 class TrayBackgroundView; | |
| 14 | |
| 15 class ASH_EXPORT ViewObserver { | |
|
varkha
2016/07/26 23:10:15
This name seems too generic. Maybe TrayBackgroundV
| |
| 16 public: | |
| 17 ViewObserver() {} | |
| 18 | |
| 19 // Called when |tray| visibility changes. | |
| 20 virtual void OnVisibilityChange(TrayBackgroundView* tray) {} | |
| 21 | |
| 22 DISALLOW_COPY_AND_ASSIGN(ViewObserver); | |
| 23 }; | |
| 24 | |
| 25 } // namespace ash | |
| 26 | |
| 27 #endif // ASH_COMMON_SYSTEM_VIEW_OBSERVER_H_ | |
| OLD | NEW |