Track CurrentCapture in DRWH.

This patch adds support in DRWH to track the current capture. This
is needed to remove DRWH of any WTHW dependencies.
Implement Close() in PlatformWindow.

This patch adds support for Close() in PlatformWindow.
OzoneWaylandWindow: Add support for Activation and DeActivation.

This patch adds support in PlatformWindow for Activation and DeActivation.
This relies on adding new APIS in PlatformWindow which are not part of this
patch. The PlatformWindow APIS would be introduced in a new patch.
Move WindowCreation to OzoneWaylandWindow.

This patch moves logic from DRWH to create WaylandSurfaces in DRWH to
OzoneWaylandWindow. This relies on adding a new API to PlatformWindow,
which will be done in a separate patch.
Move WindowTreeHostDelegateWayland to OzoneWaylandWindow.

This patch moves WindowTreeHostDelegateWayland from DRWH to
OzoneWaylandWindow.
Use PlatformWindowDelegate to handle ResizeEvent.

This patch makes changes to use PlatformDelegate in WindowTreeHostDelegateWayland
to notify DRWH of any resize changes.
Move IME state handling to InputMethodContext.

Currently, we handle IME related callbacks in WTHDW and DRWHW. This patch
introduces IMEChangeObserver interface and add support in
InputMethodContextImplWayland to handle the callbacks.
Remove IME handling in DRWH.

Now, IME changes are handled in InputMethodContextImplWayland.
This patch gets rid of relvant changes in DRWH.
Implement OnWindowStateChanged in DRWH
DRWH: Rename current_capture_ as g_current_capture

This is to make sure we follow same naming conventions (Reg Static member
variables) as rest of code base.
DRWH: Make DRWH inherit PlatformEventDispatcher and EventSource.
Synchronize DRWH and X11 implementation.

This CL synchronizes the common logic between X11 and Wayland
implementation.
Move window management logic from WTHDW to DRWH.
Add support for Window Activation/DeActivation.

This patch adds support for Window Activation/DeActivation in
XDG_Shell_Surface.
Fix the crash that happens when touch device is re-enabled.

This is part of previous changes. We need to call wl_pointer_destroy to release the wl_pointer device when pointer(mouse) device is disabled.

BUT=TC-1729
Add needed support in PlatformWindow.