ui/platform_window: Introduce PlatformWindow for windowing primitives.
commit31fbcd953ebbfec6489ef4076cf816a56c4eab30
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 15 Jul 2014 17:47:10 +0000 (15 17:47 +0000)
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 15 Jul 2014 17:47:10 +0000 (15 17:47 +0000)
tree49c6ec09149f1678b95e0ea298157203aab52025
parent559f2b2959879ce098e03454df8ccc7b8736b7cd
ui/platform_window: Introduce PlatformWindow for windowing primitives.

Instead of implementing the native windowing primitives for aura, mojo, ozone
etc., have a single implementation in ui/platform_window, and use that in the
rest of the places. To start off, this CL provides an X11 implementation of
the new interface, and use it for mojo native-viewport.

BUG=361137
R=ben@chromium.org, spang@chromium.org

Review URL: https://codereview.chromium.org/391583002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283213 0039d316-1c4b-4281-b951-d872f2087c98
15 files changed:
mojo/mojo_services.gypi
mojo/services/native_viewport/DEPS
mojo/services/native_viewport/native_viewport.h
mojo/services/native_viewport/native_viewport_x11.cc
mojo/services/public/cpp/view_manager/lib/view_manager_test_suite.cc
ui/platform_window/DEPS [new file with mode: 0644]
ui/platform_window/platform_window.gyp [new file with mode: 0644]
ui/platform_window/platform_window.h [new file with mode: 0644]
ui/platform_window/platform_window_delegate.h [new file with mode: 0644]
ui/platform_window/platform_window_export.h [new file with mode: 0644]
ui/platform_window/x11/DEPS [new file with mode: 0644]
ui/platform_window/x11/x11_window.cc [new file with mode: 0644]
ui/platform_window/x11/x11_window.gyp [new file with mode: 0644]
ui/platform_window/x11/x11_window.h [new file with mode: 0644]
ui/platform_window/x11/x11_window_export.h [new file with mode: 0644]