hal/HalScreenConfiguration.h
author Jim Chen <nchen@mozilla.com>
Tue, 04 Aug 2015 17:47:28 -0400
changeset 256194 6696b897b06e06a743ce6f78ce72dc74408c56f7
parent 189447 fcf15eb82338c3339cb39066828467b504ccc1a1
child 434004 000a3f46f36c9c400d35af815c7b19a9db6f7a9a
permissions -rw-r--r--
Bug 1187552 - Make NativeJSContainer use direct ownership model; r=snorp Make NativeJSContainer/NativeJSObject Java objects own their corresponding C++ objects directly, to reduce an extra allocation/deallocation for each object and to simplify code.

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et ft=cpp : */
/* 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 mozilla_HalScreenConfiguration_h
#define mozilla_HalScreenConfiguration_h

#include "mozilla/Observer.h"

namespace mozilla {
namespace hal {
class ScreenConfiguration;
typedef Observer<ScreenConfiguration> ScreenConfigurationObserver;
} // namespace hal
} // namespace mozilla

#endif  // mozilla_HalScreenConfiguration_h