Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
platform_provided_menu.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_COMMON_PLATFORM_PROVIDED_MENU_H_
6#define FLUTTER_SHELL_PLATFORM_COMMON_PLATFORM_PROVIDED_MENU_H_
7
8namespace flutter {
9
10// Enumerates the provided menus that a platform may support.
11// Must be kept in sync with the framework enum in widgets/menu.dart.
13 // orderFrontStandardAboutPanel macOS provided menu
14 kAbout,
15
16 // terminate macOS provided menu
17 kQuit,
18
19 // Services macOS provided submenu.
21
22 // hide macOS provided menu
23 kHide,
24
25 // hideOtherApplications macOS provided menu
27
28 // unhideAllApplications macOS provided menu
30
31 // startSpeaking macOS provided menu
33
34 // stopSpeaking macOS provided menu
36
37 // toggleFullScreen macOS provided menu
39
40 // performMiniaturize macOS provided menu
42
43 // performZoom macOS provided menu
45
46 // arrangeInFront macOS provided menu
48};
49
50} // namespace flutter
51
52#endif // FLUTTER_SHELL_PLATFORM_COMMON_PLATFORM_PROVIDED_MENU_H_