Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 4 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "nsISupports.idl" |
michael@0 | 7 | #include "nsIDOMWindow.idl" |
michael@0 | 8 | |
michael@0 | 9 | [scriptable,uuid(b3a7a402-2760-4583-b4a3-af095fe00c84)] |
michael@0 | 10 | interface nsITabSource : nsISupports |
michael@0 | 11 | { |
michael@0 | 12 | nsIDOMWindow getTabToStream(); |
michael@0 | 13 | void notifyStreamStart(in nsIDOMWindow window); |
michael@0 | 14 | void notifyStreamStop(in nsIDOMWindow window); |
michael@0 | 15 | }; |
michael@0 | 16 | |
michael@0 | 17 | %{C++ |
michael@0 | 18 | #define NS_TABSOURCESERVICE_CONTRACTID "@mozilla.org/tab-source-service;1" |
michael@0 | 19 | %} |