Forgot to commit this file. Bug 232175, patch by Isaac Hwak Han

<isaachh@mailc.net>, r=bryner, sr=bzbarsky
This commit is contained in:
bzbarsky%mit.edu 2004-04-18 17:15:03 +00:00
Родитель 86dc2db1c0
Коммит 2082c21cba
1 изменённых файлов: 3 добавлений и 16 удалений

Просмотреть файл

@ -40,9 +40,11 @@
#include "nsITheme.h" #include "nsITheme.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIAtom.h" #include "nsIAtom.h"
#include "nsNativeTheme.h"
#include <windows.h> #include <windows.h>
class nsNativeThemeWin: public nsITheme { class nsNativeThemeWin : private nsNativeTheme,
public nsITheme {
public: public:
NS_DECL_ISUPPORTS NS_DECL_ISUPPORTS
@ -103,15 +105,6 @@ protected:
nsIFrame* aFrame, nsIFrame* aFrame,
PRUint8 aWidgetType); PRUint8 aWidgetType);
PRBool IsDisabled(nsIFrame* aFrame);
PRBool IsReadOnly(nsIFrame* aFrame);
PRBool IsChecked(nsIFrame* aFrame);
PRBool IsSelected(nsIFrame* aFrame);
PRBool IsBottomTab(nsIFrame* aFrame);
PRBool IsWidgetStyled(nsIPresContext* aPresContext, nsIFrame* aFrame, PRUint8 aWidgetType);
private: private:
HMODULE mThemeDLL; HMODULE mThemeDLL;
HANDLE mButtonTheme; HANDLE mButtonTheme;
@ -127,15 +120,9 @@ private:
HANDLE mComboBoxTheme; HANDLE mComboBoxTheme;
HANDLE mHeaderTheme; HANDLE mHeaderTheme;
nsCOMPtr<nsIAtom> mCheckedAtom;
nsCOMPtr<nsIAtom> mInputAtom; nsCOMPtr<nsIAtom> mInputAtom;
nsCOMPtr<nsIAtom> mInputCheckedAtom; nsCOMPtr<nsIAtom> mInputCheckedAtom;
nsCOMPtr<nsIAtom> mDisabledAtom;
nsCOMPtr<nsIAtom> mSelectedAtom;
nsCOMPtr<nsIAtom> mTypeAtom; nsCOMPtr<nsIAtom> mTypeAtom;
nsCOMPtr<nsIAtom> mReadOnlyAtom;
nsCOMPtr<nsIAtom> mDefaultAtom;
nsCOMPtr<nsIAtom> mClassAtom;
}; };
// Creator function // Creator function