
This CL removes `MenuSourceType` enum from ui_base_types.h. Added alias for mojo version until all clients are migrated. Once every client is migrated, alias will be removed. `MenuSourceType` is moved from ui_base_types.mojom to it's own mojom due to circular dependency between `ui/base/mojom` and `ui/base`. `MenuSourceType` will be moved back to ui_base_types.mojom once the circular dependency is gone. Changed a few ui::MenuSourceType::MENU_SOURCE_* to ui::MENU_SOURCE_* to enable build. These will be changed to use mojo version later. AX-Relnotes: N/A Bug: 355460976 Change-Id: I580848c8fa55e231d2cc86244133e2e78b10a8f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5803393 Reviewed-by: Theresa Sullivan <twellington@chromium.org> Auto-Submit: Md Hasibul Hasan <hasibulhasan873@gmail.com> Commit-Queue: Md Hasibul Hasan <hasibulhasan873@gmail.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Peter Boström <pbos@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Richard (Torne) Coles <torne@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Toni Barzic <tbarzic@google.com> Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/main@{#1367879}
//pdf
contains the PDF plugin, its Blink-based replacement, as well as PDF
utility functions that leverage PDFium. It can use low-level components that
live below the content layer, as well as other foundational code like
//printing
. It should not use //content
or anything in //components
that
lives above the content layer. Code that lives above the content layer should
live in //components/pdf
, or in the embedder. All the code here should run in
sandboxed child processes.
TODO(crbug.com/40186598): Remove existing //content
dependencies.