diff options
Diffstat (limited to 'widget/windows/nsWindow.cpp')
-rw-r--r-- | widget/windows/nsWindow.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index 1a18b9ecaf..5675d6b8c2 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -632,10 +632,8 @@ nsWindow::nsWindow() mCachedHitTestPoint.y = 0; mCachedHitTestTime = TimeStamp::Now(); mCachedHitTestResult = 0; -#ifdef MOZ_XUL mTransparencyMode = eTransparencyOpaque; memset(&mGlassMargins, 0, sizeof mGlassMargins); -#endif DWORD background = ::GetSysColor(COLOR_BTNFACE); mBrush = ::CreateSolidBrush(NSRGB_2_COLOREF(background)); mSendingSetText = false; @@ -1609,14 +1607,12 @@ NS_IMETHODIMP nsWindow::Show(bool bState) } } -#ifdef MOZ_XUL if (!wasVisible && bState) { Invalidate(); if (syncInvalidate && !mInDtor && !mOnDestroyCalled) { ::UpdateWindow(mWnd); } } -#endif return NS_OK; } @@ -3008,7 +3004,6 @@ NS_IMETHODIMP nsWindow::SetCursor(imgIContainer* aCursor, * **************************************************************/ -#ifdef MOZ_XUL nsTransparencyMode nsWindow::GetTransparencyMode() { return GetTopLevelWindow(true)->GetWindowTranslucencyInner(); @@ -3117,7 +3112,6 @@ void nsWindow::UpdateGlass() DwmSetWindowAttribute(mWnd, DWMWA_NCRENDERING_POLICY, &policy, sizeof policy); } } -#endif /************************************************************** * @@ -7245,8 +7239,6 @@ nsWindow::GetAccessible() ************************************************************** **************************************************************/ -#ifdef MOZ_XUL - void nsWindow::SetWindowTranslucencyInner(nsTransparencyMode aMode) { if (aMode == mTransparencyMode) @@ -7304,8 +7296,6 @@ void nsWindow::SetWindowTranslucencyInner(nsTransparencyMode aMode) UpdateGlass(); } -#endif //MOZ_XUL - /************************************************************** ************************************************************** ** |