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 UI_VIEWS_WIDGET_WIDGET_OBSERVER_VIEW_H_ | |
| 6 #define UI_VIEWS_WIDGET_WIDGET_OBSERVER_VIEW_H_ | |
| 7 | |
| 8 #include "ui/views/view.h" | |
| 9 #include "ui/views/views_export.h" | |
| 10 #include "ui/views/widget/widget_observer.h" | |
| 11 | |
| 12 namespace views { | |
| 13 | |
| 14 class VIEWS_EXPORT WidgetObserverView : public WidgetObserver, public View { | |
| 15 public: | |
| 16 virtual void ObserveWidget(views::Widget* widget) {} | |
| 17 }; | |
| 18 | |
| 19 } // namespace views | |
| 20 | |
| 21 #endif // UI_VIEWS_WIDGET_WIDGET_OBSERVER_VIEW_H_ | |
|
sadrul
2016/01/28 17:45:06
I dislike this quite a bit. I don't think we shoul
varkha
2016/01/28 20:09:19
Done.
| |
| OLD | NEW |