Chromium Code Reviews| Index: ui/aura/desktop_observer.h |
| diff --git a/ui/aura/desktop_observer.h b/ui/aura/desktop_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a63a4e9e933623d5ad0c8bf7cf6f15f8fd5341f3 |
| --- /dev/null |
| +++ b/ui/aura/desktop_observer.h |
| @@ -0,0 +1,24 @@ |
| +// 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 DesktopObserver { |
| + public: |
| + // Invoked after the desktop is resized. |
| + virtual void OnDesktopResized(const gfx::Size& new_size) = 0; |
|
sky
2011/10/12 22:05:38
I think if you keep the methods in WindowObserver
sadrul
2011/10/12 22:59:58
Done.
|
| + |
| + protected: |
| + virtual ~DesktopObserver() {} |
| +}; |
| + |
| +} // namespace aura |
| + |
| +#endif // UI_AURA_DESKTOP_OBSERVER_H_ |