author Bobby Holley <bobbyholley@gmail.com>
Thu, 02 May 2013 16:02:03 -0700
changeset 131038 d56decca3e60d7b3fd2bc138951704fa0759757a
parent 108986 4e8929729b4caefbccbd752c27a34be60f8b71f3
child 162486 5a9badd6db004310b9d1aca5db25ef4c275a4362
permissions -rw-r--r--
Bug 834699 - Stop checking dom.xbl_scopes. r=bz

/* -*- 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/. */

#ifndef __nsLookAndFeel
#define __nsLookAndFeel
#include "nsXPLookAndFeel.h"

 * Gesture System Metrics
#define SM_DIGITIZER         94
#define TABLET_CONFIG_NONE   0x00000000
#define NID_INTEGRATED_TOUCH 0x00000001
#define NID_EXTERNAL_TOUCH   0x00000002
#define NID_INTEGRATED_PEN   0x00000004
#define NID_EXTERNAL_PEN     0x00000008
#define NID_MULTI_INPUT      0x00000040
#define NID_READY            0x00000080

class nsLookAndFeel: public nsXPLookAndFeel {
  virtual ~nsLookAndFeel();

  virtual nsresult NativeGetColor(ColorID aID, nscolor &aResult);
  virtual nsresult GetIntImpl(IntID aID, int32_t &aResult);
  virtual nsresult GetFloatImpl(FloatID aID, float &aResult);
  virtual bool GetFontImpl(FontID aID, nsString& aFontName,
                           gfxFontStyle& aFontStyle,
                           float aDevPixPerCSSPixel);
  virtual PRUnichar GetPasswordCharacterImpl();