DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (6863f516ba38)

VCS Links

Line Code
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

if defined('MOZ_CRASHREPORTER'):
    crash_reporter = ['@mozilla.org/toolkit/crash-reporter;1']
else:
    crash_reporter = []

Classes = [
    {
        'cid': '{95d89e3e-a169-41a3-8e56-719978e15b12}',
        'contract_ids': [
            '@mozilla.org/xre/app-info;1',
            '@mozilla.org/xre/runtime;1',
        ] + crash_reporter,
        'legacy_constructor': 'mozilla::AppInfoConstructor',
        'headers': ['nsAppRunner.h'],
    },
    {
        'cid': '{471f4944-1dd2-11b2-87ac-90be0a51d609}',
        'contract_ids': ['@mozilla.org/embedcomp/rangefind;1'],
        'type': 'nsFind',
        'headers': ['/toolkit/components/find/nsFind.h'],
    },
    {
        'cid': '{7e677795-c582-4cd1-9e8d-8271b3474d2a}',
        'contract_ids': ['@mozilla.org/embedding/browser/nsWebBrowserPersist;1'],
        'type': 'nsWebBrowserPersist',
        'headers': ['/dom/webbrowserpersist/nsWebBrowserPersist.h'],
    },
    {
        'cid': '{a21bfa01-f349-4394-a84c-8de5cf0737d0}',
        'contract_ids': ['@mozilla.org/embedcomp/window-watcher;1'],
        'type': 'nsWindowWatcher',
        'headers': ['nsWindowWatcher.h'],
        'init_method': 'Init',
    },
    {
        'cid': '{5573967d-f6cf-4c63-8e0e-9ac06e04d62b}',
        'contract_ids': ['@mozilla.org/xre/directory-provider;1'],
        'singleton': True,
        'type': 'nsXREDirProvider',
        'constructor': 'nsXREDirProvider::GetSingleton',
        'headers': ['/toolkit/xre/nsXREDirProvider.h'],
    },
]

if defined('MOZ_XUL'):
    Classes += [
        {
            'cid': '{4e4aae11-8901-46cc-8217-dad7c5415873}',
            'contract_ids': ['@mozilla.org/embedcomp/dialogparam;1'],
            'type': 'nsDialogParamBlock',
            'headers': ['/toolkit/components/windowwatcher/nsDialogParamBlock.h'],
        },
    ]