| 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 "components/native_viewport/platform_viewport.h" | 5 #include "components/view_manager/native_viewport/platform_viewport.h" |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "mojo/converters/geometry/geometry_type_converters.h" | 8 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 9 #include "mojo/converters/input_events/input_events_type_converters.h" | 9 #include "mojo/converters/input_events/input_events_type_converters.h" |
| 10 #include "ui/events/event.h" | 10 #include "ui/events/event.h" |
| 11 #include "ui/gfx/geometry/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 #include "ui/platform_window/platform_window_delegate.h" | 12 #include "ui/platform_window/platform_window_delegate.h" |
| 13 #include "ui/platform_window/win/win_window.h" | 13 #include "ui/platform_window/win/win_window.h" |
| 14 | 14 |
| 15 namespace native_viewport { | 15 namespace native_viewport { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(PlatformViewportWin); | 132 DISALLOW_COPY_AND_ASSIGN(PlatformViewportWin); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 // static | 135 // static |
| 136 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { | 136 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { |
| 137 return scoped_ptr<PlatformViewport>(new PlatformViewportWin(delegate)).Pass(); | 137 return scoped_ptr<PlatformViewport>(new PlatformViewportWin(delegate)).Pass(); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace native_viewport | 140 } // namespace native_viewport |
| OLD | NEW |