tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

components.conf (1396B)


      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/.
      6 
      7 pages = [
      8     'aichatcontent',
      9     'asrouter',
     10     'blocked',
     11     'certerror',
     12     'downloads',
     13     'framecrashed',
     14     'home',
     15     'keyboard',
     16     'logins',
     17     'loginsimportreport',
     18     'manual',
     19     'messagepreview',
     20     'newtab',
     21     'opentabs',
     22     'policies',
     23     'preferences',
     24     'privatebrowsing',
     25     'profiling',
     26     'reader',
     27     'restartrequired',
     28     # Removed 'rights'. tor-browser#43901.
     29     # Removed 'robots'. tor-browser#42831.
     30     'rulesets',
     31     'sessionrestore',
     32     'settings',
     33     'tabcrashed',
     34     'tor',
     35     'unloads',
     36     'welcome',
     37     'welcomeback',
     38 ]
     39 
     40 if buildconfig.substs.get('MOZ_SELECTABLE_PROFILES'):
     41     pages += [
     42         'deleteprofile',
     43         'editprofile',
     44         'profilemanager',
     45         'newprofile',
     46     ]
     47 
     48 Classes = [
     49     {
     50         'cid': '{7e4bb6ad-2fc4-4dc6-89ef-23e8e5ccf980}',
     51         'contract_ids': ['@mozilla.org/network/protocol/about;1?what=%s' % page
     52                          for page in pages],
     53         'legacy_constructor': 'mozilla::browser::AboutRedirector::Create',
     54         'headers': ['/browser/components/about/AboutRedirector.h'],
     55     },
     56 ]