Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: ui/views/controls/menu/submenu_view.h

Issue 2155243007: Turn Bookmark Menus Async (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge the pretarget handlers Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/menu/menu_pre_target_handler.cc ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/submenu_view.h
diff --git a/ui/views/controls/menu/submenu_view.h b/ui/views/controls/menu/submenu_view.h
index 1f929750bbc37e31a24cf02087ec6869b94df95f..269d0fa966c1a249c00fbaea91c7db766e57167a 100644
--- a/ui/views/controls/menu/submenu_view.h
+++ b/ui/views/controls/menu/submenu_view.h
@@ -21,6 +21,10 @@ class MenuHost;
class MenuItemView;
class MenuScrollViewContainer;
+namespace test {
+class MenuControllerTest;
+} // test
+
// SubmenuView is the parent of all menu items.
//
// SubmenuView has the following responsibilities:
@@ -168,6 +172,8 @@ class VIEWS_EXPORT SubmenuView : public PrefixDelegate,
void ChildPreferredSizeChanged(View* child) override;
private:
+ friend class test::MenuControllerTest;
+
void SchedulePaintForDropIndicator(MenuItemView* item,
MenuDelegate::DropPosition position);
« no previous file with comments | « ui/views/controls/menu/menu_pre_target_handler.cc ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698