| 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..9a6dc4c9e79e67c96d6cf15b4a53e2b79abd28df
|
| --- /dev/null
|
| +++ b/ui/aura/window_observer.h
|
| @@ -0,0 +1,26 @@
|
| +// 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_WINDOW_OBSERVER_H_
|
| +#define UI_AURA_WINDOW_OBSERVER_H_
|
| +#pragma once
|
| +
|
| +#include "ui/aura/aura_export.h"
|
| +
|
| +namespace aura {
|
| +
|
| +class Window;
|
| +
|
| +class AURA_EXPORT WindowObserver {
|
| + public:
|
| + virtual void OnWindowClosing(Window* window) {}
|
| + virtual void OnWindowVisibilityChanged(Window* window) {}
|
| +
|
| + protected:
|
| + virtual ~WindowObserver() {}
|
| +};
|
| +
|
| +} // namespace aura
|
| +
|
| +#endif // UI_AURA_WINDOW_OBSERVER_H_
|
|
|