|
ozone: Add OzoneWindowFactory & OzoneWindow
This adds window a creation API to ozone & adds a new OzoneWindow
interface for window operations.
The OzoneWindow gets various window-related methods that were previously
on SurfaceFactoryOzone, CursorFactoryOzone, & EventFactoryOzone. All of
those functions used to take an intptr_t AcceleratedWidget, and were
expected to coordinate behind the scenes in order to function. This
centralizes all window operations in one place.
The window is owned by WindowTreeHostOzone so that it is cleaned up
correctly when we destroy the host.
TEST=ui_unittests, content_shell --ozone-platform={test,dri}
BUG=none
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+384 lines, -69 lines) |
Patch |
|
M |
content/browser/compositor/software_output_device_ozone_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/aura/window_tree_host_ozone.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/aura/window_tree_host_ozone.cc
|
View
|
|
6 chunks |
+18 lines, -23 lines |
0 comments
|
Download
|
|
M |
ui/base/cursor/ozone/cursor_factory_ozone.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/base/cursor/ozone/cursor_factory_ozone.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/compositor/test/test_compositor_host_ozone.cc
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/events/ozone/event_factory_ozone.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
ui/events/ozone/event_factory_ozone.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/dri/dri_surface_factory.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/dri/dri_surface_factory.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/impl/file_surface_factory.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/impl/file_surface_factory.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/surface_factory_ozone.h
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
ui/gfx/ozone/surface_factory_ozone.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/ozone.gyp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/ozone_platform.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/ozone_platform.cc
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/dri/ozone_platform_dri.h
|
View
|
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/dri/ozone_platform_dri.cc
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
A |
ui/ozone/platform/dri/ozone_window_dri.h
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/platform/dri/ozone_window_dri.cc
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/platform/dri/window_factory_dri.h
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/platform/dri/window_factory_dri.cc
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/test/ozone_platform_test.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/ozone/platform/test/ozone_platform_test.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/window/ozone_window.h
|
View
|
|
1 chunk |
+60 lines, -0 lines |
3 comments
|
Download
|
|
A |
ui/ozone/window/ozone_window.cc
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/window/window_factory_ozone.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
ui/ozone/window/window_factory_ozone.cc
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|