widget/android/AndroidUiThread.h
author Brian Birtles <birtles@gmail.com>
Mon, 07 May 2018 11:15:16 +0900
changeset 417845 7eae2c106d30b402e5c070bc3ae8b05cc59e78aa
parent 367203 c803c00aed9b499dc54697ca7cfd26b784400ea7
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1456394 - Rename AnimationEffectReadOnly to AnimationEffect; r=bz,hiro MozReview-Commit-ID: 8jzJiCWt5vs

/* -*- Mode: C++; tab-width: 8; 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/. */

#ifndef AndroidUiThread_h__
#define AndroidUiThread_h__

#include <mozilla/RefPtr.h>
#include <nsThread.h>

class MessageLoop;

namespace mozilla {

void CreateAndroidUiThread();
void DestroyAndroidUiThread();
int64_t RunAndroidUiTasks();

MessageLoop* GetAndroidUiThreadMessageLoop();
RefPtr<nsThread> GetAndroidUiThread();

} // namespace mozilla

#endif // AndroidUiThread_h__