[go: nahoru, domu]

ui/base: move clipboard to own folder.

ClipboardOzone needs to depend on ui/ozone in order to call
OzonePlatform::GetPlatformClipboard, but as long as all the base::clipboard
classes are part of ui/base source set, and ui/ozone depends on
ui/base, it's impossible to depend on ui/ozone. And that
creates a circular dependency.

Thus, factor out clipboard source files and make appropriate source sets,
which will be used by clients on their needs instead of depending on
everything.

Bug: 922465
Change-Id: I97cd4013be096a1dd1af8e1da4678aa83f93ca42
Reviewed-on: https://chromium-review.googlesource.com/c/1369933
Reviewed-by: Cait Phillips <caitkp@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Cr-Commit-Position: refs/heads/master@{#625654}
145 files changed