OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_ASH_CONTEXT_MENU_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_CONTEXT_MENU_H_ |
| 7 |
| 8 #include "mash/shelf/public/interfaces/context_menu.mojom.h" |
| 9 |
| 10 // Chrome's delegate for mash context menus. |
| 11 class ContextMenu : public mash::shelf::mojom::ContextMenu { |
| 12 public: |
| 13 ContextMenu(); |
| 14 ~ContextMenu() override; |
| 15 |
| 16 // mash::shelf::mojom::ContextMenu: |
| 17 void GetItemsAndInfo(uint32_t shelf_item_type, |
| 18 int32_t shelf_item_id, |
| 19 const GetItemsAndInfoCallback& callback) override; |
| 20 void ExecuteCommand(int32_t command_id, int32_t event_flags) override; |
| 21 |
| 22 private: |
| 23 DISALLOW_COPY_AND_ASSIGN(ContextMenu); |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_UI_ASH_CONTEXT_MENU_H_ |
OLD | NEW |