| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GFX_WIN_SINGLETON_HWND_H_ | 5 #ifndef UI_GFX_WIN_SINGLETON_HWND_H_ |
| 6 #define UI_GFX_WIN_SINGLETON_HWND_H_ | 6 #define UI_GFX_WIN_SINGLETON_HWND_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 12 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
| 13 #include "ui/gfx/win/window_impl.h" | 14 #include "ui/gfx/win/window_impl.h" |
| 14 | 15 |
| 15 namespace base { | 16 namespace base { |
| 16 template<typename T> struct DefaultSingletonTraits; | 17 template<typename T> struct DefaultSingletonTraits; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace gfx { | 20 namespace gfx { |
| 20 | 21 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 | 48 |
| 48 // List of registered observers. | 49 // List of registered observers. |
| 49 base::ObserverList<SingletonHwndObserver, true> observer_list_; | 50 base::ObserverList<SingletonHwndObserver, true> observer_list_; |
| 50 | 51 |
| 51 DISALLOW_COPY_AND_ASSIGN(SingletonHwnd); | 52 DISALLOW_COPY_AND_ASSIGN(SingletonHwnd); |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace gfx | 55 } // namespace gfx |
| 55 | 56 |
| 56 #endif // UI_GFX_WIN_SINGLETON_HWND_H_ | 57 #endif // UI_GFX_WIN_SINGLETON_HWND_H_ |
| OLD | NEW |