2011-11-10 16:17:46 -08:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-07-20 02:10:44 -07:00
|
|
|
/* Copyright 2012 Mozilla Foundation and Mozilla contributors
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2011-11-10 16:17:46 -08:00
|
|
|
#ifndef __nsLookAndFeel
|
|
|
|
#define __nsLookAndFeel
|
|
|
|
|
|
|
|
#include "nsXPLookAndFeel.h"
|
|
|
|
|
|
|
|
class nsLookAndFeel : public nsXPLookAndFeel
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsLookAndFeel();
|
|
|
|
virtual ~nsLookAndFeel();
|
|
|
|
|
2012-09-29 04:35:08 -07:00
|
|
|
virtual bool GetFontImpl(FontID aID, nsString& aName, gfxFontStyle& aStyle,
|
|
|
|
float aDevPixPerCSSPixel);
|
2012-08-22 08:56:38 -07:00
|
|
|
virtual nsresult GetIntImpl(IntID aID, int32_t &aResult);
|
2013-09-22 02:44:26 -07:00
|
|
|
virtual nsresult GetFloatImpl(FloatID aID, float &aResult);
|
2012-07-14 16:05:54 -07:00
|
|
|
virtual bool GetEchoPasswordImpl();
|
2012-11-28 22:13:35 -08:00
|
|
|
virtual uint32_t GetPasswordMaskDelayImpl();
|
2012-12-03 19:24:51 -08:00
|
|
|
virtual PRUnichar GetPasswordCharacterImpl();
|
2012-02-20 15:19:48 -08:00
|
|
|
|
2011-11-10 16:17:46 -08:00
|
|
|
protected:
|
|
|
|
virtual nsresult NativeGetColor(ColorID aID, nscolor &aColor);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|