Chromium Code Reviews| Index: ui/aura/window_observer.h |
| diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d5a7985b55dc4189200ec650b8a75b85ed0b2c0b |
| --- /dev/null |
| +++ b/ui/aura/window_observer.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2011 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_AURA_DESKTOP_OBSERVER_H_ |
| +#define UI_AURA_DESKTOP_OBSERVER_H_ |
| +#pragma once |
| + |
| +#include "ui/aura/aura_export.h" |
| + |
| +namespace aura { |
| + |
| +class AURA_EXPORT WindowObserver { |
| + public: |
| + virtual void OnWindowClosing(Window* window) {} |
|
tfarina
2011/10/12 22:25:27
forward declare Window.
sadrul
2011/10/12 22:59:58
Done.
|
| + virtual void OnWindowVisibilityChanged(Window* window) {} |
| + |
| + protected: |
| + virtual ~WindowObserver() {} |
| +}; |
| + |
| +} // namespace aura |
| + |
| +#endif // UI_AURA_DESKTOP_OBSERVER_H_ |
|
tfarina
2011/10/12 22:25:27
UI_AURA_DESKTOP_OBSERVER_H_ -> UI_AURA_WINDOW_OBSE
sadrul
2011/10/12 22:59:58
D'oh! Copy pasta. Done.
|
| + |
|
tfarina
2011/10/12 22:25:27
remove this empty blank line here
sadrul
2011/10/12 22:59:58
Done.
|