Chromium Code Reviews| Index: ui/gfx/win/window_impl.h |
| diff --git a/ui/gfx/win/window_impl.h b/ui/gfx/win/window_impl.h |
| index 8206562935ff1ca8eb6c685231a58f854c876192..b9dcb85631ed7c63fc1590f7d991f2b71ed4b88a 100644 |
| --- a/ui/gfx/win/window_impl.h |
| +++ b/ui/gfx/win/window_impl.h |
| @@ -41,6 +41,11 @@ class GFX_EXPORT WindowImpl : public MessageMapInterface { |
| WindowImpl(); |
| virtual ~WindowImpl(); |
| + // Causes all generated windows classes to be unregistered at exit. |
| + // This can cause result in errors for tests that don't destroy all instances |
| + // of windows, but is necessary if the tests uses a ShadowingAtExitManager. |
|
Bernhard Bauer
2014/09/11 08:45:06
This comment doesn't really make sense. Calling th
DaveMoore
2014/09/12 04:27:28
Done.
|
| + static void SetUnregisterClassesAtExit(bool unregister_classes_at_exit); |
| + |
| // Initializes the Window with a parent and an initial desired size. |
| void Init(HWND parent, const gfx::Rect& bounds); |