Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / browser / components / about / components.conf
blob8ed309e974465f539c6e85020e774b0e069e6cb1
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 pages = [
8     'asrouter',
9     'blocked',
10     'certerror',
11     'downloads',
12     'framecrashed',
13     'home',
14     'logins',
15     'loginsimportreport',
16     'firefoxview',
17     'messagepreview',
18     'newtab',
19     'pocket-home',
20     'pocket-saved',
21     'pocket-signup',
22     'pocket-style-guide',
23     'policies',
24     'preferences',
25     'privatebrowsing',
26     'protections',
27     'profiling',
28     'reader',
29     'restartrequired',
30     'rights',
31     'robots',
32     'sessionrestore',
33     'settings',
34     'shoppingsidebar',
35     'tabcrashed',
36     'unloads',
37     'welcome',
38     'welcomeback',
41 if buildconfig.substs.get('MOZ_SELECTABLE_PROFILES'):
42     pages += [
43         'deleteprofile',
44         'editprofile',
45         'profilemanager',
46         'newprofile',
47     ]
49 Classes = [
50     {
51         'cid': '{7e4bb6ad-2fc4-4dc6-89ef-23e8e5ccf980}',
52         'contract_ids': ['@mozilla.org/network/protocol/about;1?what=%s' % page
53                          for page in pages],
54         'legacy_constructor': 'mozilla::browser::AboutRedirector::Create',
55         'headers': ['/browser/components/about/AboutRedirector.h'],
56     },