MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac

This permits ContextFactory on Mac to create composited surfaces for
ui/views.

Moves files: surface_handle_types_mac, accelerated_widget_mac,
software_layer_mac, and io_surface_{context,layer,texture}_mac to
ui/accelerated_widget_mac. accelerated_widget_mac.gyp and other
component friends are also added there.

content dependencies from these files are removed.

Only one real dependency was left: a call to GpuDataManager::
IsDriverBugWorkaroundActive(gpu::FORCE_GL_FINISH_AFTER_COMPOSITING),
which is now plumbed through when constructing an AcceleratedWidgetMac.

[email protected]
BUG=424058

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

Cr-Commit-Position: refs/heads/master@{#306272}
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index af4c97a..b66ed753 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -152,6 +152,7 @@
       "//content/app/resources",
       "//content:resources",
       "//third_party/WebKit/public:resources",
+      "//ui/accelerated_widget_mac",
     ]
     libs += [ "QuartzCore.framework" ]
   }