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 #include "mojo/services/native_viewport/platform_viewport.h" | 5 #include "services/native_viewport/platform_viewport.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
9 #include "mojo/converters/input_events/mojo_extended_key_event_data.h" | 9 #include "mojo/converters/input_events/mojo_extended_key_event_data.h" |
10 #include "ui/events/event.h" | 10 #include "ui/events/event.h" |
11 #include "ui/events/event_utils.h" | 11 #include "ui/events/event_utils.h" |
12 #include "ui/events/platform/platform_event_dispatcher.h" | 12 #include "ui/events/platform/platform_event_dispatcher.h" |
13 #include "ui/events/platform/platform_event_source.h" | 13 #include "ui/events/platform/platform_event_source.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 #include "ui/platform_window/platform_window.h" | 15 #include "ui/platform_window/platform_window.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(PlatformViewportX11); | 122 DISALLOW_COPY_AND_ASSIGN(PlatformViewportX11); |
123 }; | 123 }; |
124 | 124 |
125 // static | 125 // static |
126 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { | 126 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { |
127 return scoped_ptr<PlatformViewport>(new PlatformViewportX11(delegate)).Pass(); | 127 return scoped_ptr<PlatformViewport>(new PlatformViewportX11(delegate)).Pass(); |
128 } | 128 } |
129 | 129 |
130 } // namespace mojo | 130 } // namespace mojo |
OLD | NEW |