Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: components/view_manager/native_viewport/platform_viewport_x11.cc

Issue 1131523007: Move NativeViewport service into view_manager. This is a file move only. Further merging will happe… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/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/geometry/geometry_type_converters.h" 9 #include "mojo/converters/geometry/geometry_type_converters.h"
10 #include "mojo/converters/input_events/input_events_type_converters.h" 10 #include "mojo/converters/input_events/input_events_type_converters.h"
11 #include "mojo/converters/input_events/mojo_extended_key_event_data.h" 11 #include "mojo/converters/input_events/mojo_extended_key_event_data.h"
12 #include "ui/events/event.h" 12 #include "ui/events/event.h"
13 #include "ui/events/event_utils.h" 13 #include "ui/events/event_utils.h"
14 #include "ui/events/platform/platform_event_dispatcher.h" 14 #include "ui/events/platform/platform_event_dispatcher.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 DISALLOW_COPY_AND_ASSIGN(PlatformViewportX11); 157 DISALLOW_COPY_AND_ASSIGN(PlatformViewportX11);
158 }; 158 };
159 159
160 // static 160 // static
161 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) { 161 scoped_ptr<PlatformViewport> PlatformViewport::Create(Delegate* delegate) {
162 return make_scoped_ptr(new PlatformViewportX11(delegate)); 162 return make_scoped_ptr(new PlatformViewportX11(delegate));
163 } 163 }
164 164
165 } // namespace native_viewport 165 } // namespace native_viewport
OLDNEW
« no previous file with comments | « components/view_manager/native_viewport/platform_viewport_win.cc ('k') | components/view_manager/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698