| 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 CHROME_BROWSER_UI_VIEWS_ASH_WINDOW_MANAGER_EXTENSION_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ASH_WINDOW_MANAGER_EXTENSION_H_ |
| 7 |
| 8 #include <map> |
| 9 |
| 10 #include "ash/wm/window_manager_extension.h" |
| 11 |
| 12 class WindowManagerExtension : public ash::WindowManagerExtensionDelegate { |
| 13 public: |
| 14 WindowManagerExtension(); |
| 15 |
| 16 virtual ~WindowManagerExtension(); |
| 17 |
| 18 private: |
| 19 void DispatchEventForWindow(const aura::Window* window, |
| 20 const char event_name[]); |
| 21 |
| 22 // Overridden from ash::WindowManagerExtensionDelegate. |
| 23 virtual void OnWindowCreated(const aura::Window* window) OVERRIDE; |
| 24 virtual void OnWindowClosed(const aura::Window* window) OVERRIDE; |
| 25 virtual void OnWindowHidden(const aura::Window* window) OVERRIDE; |
| 26 virtual void OnWindowShown(const aura::Window* window) OVERRIDE; |
| 27 virtual void OnActiveWindowChanged(const aura::Window* window) OVERRIDE; |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(WindowManagerExtension); |
| 30 }; |
| 31 |
| 32 #endif // CHROME_BROWSER_UI_VIEWS_ASH_WINDOW_MANAGER_EXTENSION_H_ |
| OLD | NEW |