Chromium Code Reviews| Index: ui/views/widget/widget_observer_view.h |
| diff --git a/ui/views/widget/widget_observer_view.h b/ui/views/widget/widget_observer_view.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..26ee0b4d61ca8100597bb29851c4edd6fb88568b |
| --- /dev/null |
| +++ b/ui/views/widget/widget_observer_view.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_VIEWS_WIDGET_WIDGET_OBSERVER_VIEW_H_ |
| +#define UI_VIEWS_WIDGET_WIDGET_OBSERVER_VIEW_H_ |
| + |
| +#include "ui/views/view.h" |
| +#include "ui/views/views_export.h" |
| +#include "ui/views/widget/widget_observer.h" |
| + |
| +namespace views { |
| + |
| +class VIEWS_EXPORT WidgetObserverView : public WidgetObserver, public View { |
| + public: |
| + virtual void ObserveWidget(views::Widget* widget) {} |
| +}; |
| + |
| +} // namespace views |
| + |
| +#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.
|