layout/printing/nsIPrintStatusFeedback.idl
author Bobby Holley <bobbyholley@gmail.com>
Fri, 19 Dec 2014 11:39:15 -0800
changeset 246527 4c38dda0688052e7074c04a7a25065cb7e3246c6
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 318762 e22b3043887ed36bf2c634c2924a7c8d39d226b1
permissions -rw-r--r--
Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce This is necessary to get the state machine moving after it's initialized. MediaDecoder::Load does this, but it looks like we missed this in the override. So the current code relies on the ScheduleStateMachine call at the end of TrackBuffer::AppendData to get things rolling. We're going to be removing that call, so we need to fix this.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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"

interface nsIDocShell;
interface nsIDOMWindow;

[scriptable, uuid(e439d3eb-b1ed-449c-aaf7-c693e399b16f)]
interface nsIPrintStatusFeedback : nsISupports {

	void showStatusString(in wstring status);
	void startMeteors();
	void stopMeteors();
	void showProgress(in long percent);
	[noscript] void setDocShell(in nsIDocShell shell, in nsIDOMWindow window);
	void closeWindow();
};