/usr/share/idl/thunderbird/nsIAutoCompleteSession.idl is in thunderbird-dev 1:24.4.0+build1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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/. */
#include "nsISupports.idl"
%{ C++
#include "nsIAutoCompleteResults.h"
#include "nsIAutoCompleteListener.h"
%}
interface nsIAutoCompleteResults;
interface nsIAutoCompleteListener;
[scriptable, uuid(E0140B60-0264-11d4-8378-000000000000)]
interface nsIAutoCompleteSession : nsISupports {
/* onStartLookup is called when the user has stop typing for a predifined elapse time */
void onStartLookup(in wstring searchString, in nsIAutoCompleteResults previousSearchResult,
in nsIAutoCompleteListener listener);
/* onStopLookup is called each time the user press a key */
void onStopLookup();
/* onAutoComplete is called either when the user press enter/return or when the input element loses focus */
void onAutoComplete(in wstring searchString, in nsIAutoCompleteResults previousSearchResult,
in nsIAutoCompleteListener listener);
};
|