summaryrefslogtreecommitdiffstats
path: root/mobile/android/android-components/components/feature/fxsuggest/fxsuggest.fml.yaml
blob: e55a8e78ebc3d397f7561796180abf1d5834fed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

about:
  description: Nimbus Feature Manifest for the Firefox Suggest feature.
  android:
    package: mozilla.components.feature.fxsuggest
    class: .FxSuggestNimbus
channels:
  - debug
  - release
features:
  awesomebar-suggestion-provider:
    description: Configuration for the Firefox Suggest awesomebar suggestion provider.
    variables:
      available-suggestion-types:
        description: >
          A map of suggestion types to booleans that indicate whether or not the provider should
          return suggestions of those types.
        type: Map<SuggestionType, Boolean>
        default: {
          "amp": false,
          "ampMobile": false,
          "wikipedia": true,
        }
enums:
  SuggestionType:
    description: The type of a Firefox Suggest search suggestion.
    variants:
      amp:
        description: A Firefox Suggestion from adMarketplace.
      ampMobile:
        description: A firefox Suggestion from adMarketplace specifically for mobile.
      wikipedia:
        description: A Firefox Suggestion for a Wikipedia page.