OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_AURA_ROOT_WINDOW_HOST_OZONE_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_OZONE_H_ |
6 #define UI_AURA_ROOT_WINDOW_HOST_OZONE_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_OZONE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "ui/aura/root_window_host.h" | 12 #include "ui/aura/root_window_host.h" |
13 #include "ui/base/ozone/event_factory_ozone.h" | 13 #include "ui/base/ozone/event_factory_ozone.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 | 15 |
16 namespace aura { | 16 namespace aura { |
17 | 17 |
18 class RootWindowHostOzone : public RootWindowHost, | 18 class RootWindowHostOzone : public RootWindowHost, |
19 public base::MessageLoop::Dispatcher { | 19 public base::MessageLoop::Dispatcher { |
20 public: | 20 public: |
21 explicit RootWindowHostOzone(const gfx::Rect& bounds); | 21 explicit RootWindowHostOzone(const gfx::Rect& bounds); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 // EventFactoryEvdev reads from /dev/input/* file descriptors and creates | 59 // EventFactoryEvdev reads from /dev/input/* file descriptors and creates |
60 // ui::Events from them. | 60 // ui::Events from them. |
61 scoped_ptr<ui::EventFactoryOzone> factory_; | 61 scoped_ptr<ui::EventFactoryOzone> factory_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(RootWindowHostOzone); | 63 DISALLOW_COPY_AND_ASSIGN(RootWindowHostOzone); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace aura | 66 } // namespace aura |
67 | 67 |
68 #endif // UI_AURA_ROOT_WINDOW_HOST_OZONE_H_ | 68 #endif // UI_AURA_ROOT_WINDOW_HOST_OZONE_H_ |
OLD | NEW |