OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_FACTORY_H_ | |
6 #define UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_FACTORY_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "ui/platform_window/platform_window_factory.h" | |
11 #include "ui/platform_window/win/win_window_export.h" | |
12 | |
13 namespace ui { | |
14 | |
15 class WIN_WINDOW_EXPORT WinWindowFactory : public PlatformWindowFactory { | |
Ben Goodger (Google)
2014/07/23 16:03:43
Why do we need platform versions of this? Can't we
sadrul
2014/07/23 16:40:17
The problem here is that for ozone, there can't be
| |
16 public: | |
17 static PlatformWindowFactory* CreateIfNecessary(); | |
18 | |
19 private: | |
20 WinWindowFactory(); | |
21 virtual ~WinWindowFactory(); | |
22 | |
23 // PlatformWindowFactory: | |
24 virtual scoped_ptr<PlatformWindow> CreatePlatformWindow( | |
25 PlatformWindowDelegate* delegate, | |
26 const gfx::Rect& bounds) OVERRIDE; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(WinWindowFactory); | |
29 }; | |
30 | |
31 } // namespace ui | |
32 | |
33 #endif // UI_PLATFORM_WINDOW_WIN_WIN_WINDOW_FACTORY_H_ | |
OLD | NEW |