Move SimpleMenuModel out of ui/base
This is a precursor CL to allow SimpleMenuModel to include actions.h, in order to be able to create menu items from action items.
Currently, simple_menu_model cannot include actions, as doing so creates a dependency cycle from ui/base -> ui/actions -> ui/base.
Many of the changes here are simply renaming include paths from ui/base/models -> ui/menus/models. The only significant changes here that need to be reviewed are changes in BUILD.gn and DEPS files.
Change-Id: I345efc6c42bbf2d7fdd539c0b312a8f5db338382
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5892572
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Achuith Bhandarkar <[email protected]>
Commit-Queue: Joseph Park <[email protected]>
Reviewed-by: Emilia Paz <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1370692}
diff --git a/chrome/browser/ui/toasts/api/BUILD.gn b/chrome/browser/ui/toasts/api/BUILD.gn
index bc0eff2..c0edd19 100644
--- a/chrome/browser/ui/toasts/api/BUILD.gn
+++ b/chrome/browser/ui/toasts/api/BUILD.gn
@@ -16,6 +16,7 @@
public_deps = [
"//base",
"//ui/base",
+ "//ui/menus",
]
deps = [ "//components/vector_icons:vector_icons" ]
}
@@ -33,5 +34,6 @@
"//chrome/test:test_support",
"//testing/gtest",
"//ui/gfx",
+ "//ui/menus",
]
}