Revert "fuchsia: Avoid unnecessary references to WindowEventFilter"

This reverts commit 55729963b1e454fc0011ac95f008e0ceb7f7976e.

Reason for revert: Apparently this broke Fuchsia Cast somehow (on waterfall but not CQ)

Original change's description:
> fuchsia: Avoid unnecessary references to WindowEventFilter
> 
> The link error I'm trying to avoid is this:
> 
> [122->5/127 ~1] SOLINK ./libviews.so
> FAILED: libviews.so libviews.so.TOC lib.unstripped/libviews.so
> python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --strip=../../third_party/eu-strip/bin/eu-strip --sofile="./lib.unstripped/libviews.so" --tocfile="./libviews.so.TOC" --output="./libviews.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,-z,max-page-size=4096 -Wl,--icf=all -Wl,--color-diagnostics --target=aarch64-fuchsia -Wl,-z,stack-size=0x800000 -Wl,--no-as-needed -lfdio -Wl,--as-needed -Werror -Wl,--gdb-index -nostdlib++ --sysroot=../../third_party/fuchsia-sdk/sdk/arch/arm64/sysroot -L../../third_party/fuchsia-sdk/sdk/arch/arm64/lib -o "./lib.unstripped/libviews.so" -Wl,-soname="libviews.so" @"./libviews.so.rsp"
> ld.lld: error: undefined symbol: views::WindowEventFilter::WindowEventFilter(views::DesktopWindowTreeHost*)
> >>> referenced by memory:3118 (../../buildtools/third_party/libc++/trunk/include/memory:3118)
> >>>               obj/ui/views/views/desktop_window_tree_host_platform.o:(views::DesktopWindowTreeHostPlatform::OnNativeWidgetCreated(views::Widget::InitParams const&))
> 
> ld.lld: error: undefined symbol: views::WindowEventFilter::SetWmMoveResizeHandler(ui::WmMoveResizeHandler*)
> >>> referenced by desktop_window_tree_host_platform.cc:106 (../../ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc:106)
> >>>               obj/ui/views/views/desktop_window_tree_host_platform.o:(views::DesktopWindowTreeHostPlatform::OnNativeWidgetCreated(views::Widget::InitParams const&))
> clang: error: ld.lld command failed with exit code 1 (use -v to see invocation)
> 
> I'm not sure what the correct approach is; DesktopWindowTreeHostPlatform
> depends on WindowEventFilter which uses LinuxUI.
> 
> Since there's no available non-client area on Fuchsia currently, not
> doing this seems correct for the time being. Or does Fuchsia really need
> its own DesktopWindowTreeHostFuchsia implementation?
> 
> Bug: 808287
> Change-Id: I2af683415ea00147607eb4236540d8d3e8643603
> Reviewed-on: https://chromium-review.googlesource.com/c/1298554
> Commit-Queue: Scott Graham <scottmg@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#602860}

TBR=sky@chromium.org,scottmg@chromium.org,thomasanderson@chromium.org

Change-Id: I00a7631118f58db9413c391416079c4f94a974ae
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 808287
Reviewed-on: https://chromium-review.googlesource.com/c/1300101
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602887}
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
index 8a82539..44033ed3 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
@@ -5,7 +5,6 @@
 #include "ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h"
 
 #include "base/time/time.h"
-#include "build/build_config.h"
 #include "ui/aura/client/drag_drop_client.h"
 #include "ui/aura/client/transient_window_client.h"
 #include "ui/base/hit_test.h"
@@ -17,14 +16,11 @@
 #include "ui/platform_window/platform_window_init_properties.h"
 #include "ui/views/corewm/tooltip_aura.h"
 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
+#include "ui/views/widget/desktop_aura/window_event_filter.h"
 #include "ui/views/widget/widget_aura_utils.h"
 #include "ui/views/window/native_frame_view.h"
 #include "ui/wm/core/window_util.h"
 
-#if defined(OS_LINUX)
-#include "ui/views/widget/desktop_aura/window_event_filter.h"
-#endif
-
 namespace views {
 
 namespace {
@@ -100,7 +96,6 @@
     const Widget::InitParams& params) {
   native_widget_delegate_->OnNativeWidgetCreated(true);
 
-#if defined(OS_LINUX)
   // Setup a non_client_window_event_filter, which handles resize/move, double
   // click and other events.
   DCHECK(!non_client_window_event_filter_);
@@ -113,7 +108,6 @@
 
   non_client_window_event_filter_ = std::move(window_event_filter);
   window()->AddPreTargetHandler(non_client_window_event_filter_.get());
-#endif
 }
 
 void DesktopWindowTreeHostPlatform::OnWidgetInitDone() {}