Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / ui / toolbar / bookmark_sub_menu_model.h
blob3f6b4100300b78e3327e4daf77a3ee3d508575c6
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_BOOKMARK_SUB_MENU_MODEL_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_BOOKMARK_SUB_MENU_MODEL_H_
8 // For views and cocoa, we have complex delegate systems to handle
9 // injecting the bookmarks to the bookmark submenu. This is done to support
10 // advanced interactions with the menu contents, like right click context menus.
12 #include "ui/base/models/simple_menu_model.h"
14 class Browser;
16 class BookmarkSubMenuModel : public ui::SimpleMenuModel {
17 public:
18 BookmarkSubMenuModel(ui::SimpleMenuModel::Delegate* delegate,
19 Browser* browser);
20 ~BookmarkSubMenuModel() override;
22 private:
23 void Build(Browser* browser);
25 DISALLOW_COPY_AND_ASSIGN(BookmarkSubMenuModel);
28 #endif // CHROME_BROWSER_UI_TOOLBAR_BOOKMARK_SUB_MENU_MODEL_H_