mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 574454 - Add window frame css styles. r=dbaron.
This commit is contained in:
parent
6957c7668f
commit
fc610f459e
@ -237,3 +237,14 @@
|
||||
|
||||
// Vista glass
|
||||
#define NS_THEME_WIN_GLASS 230
|
||||
|
||||
// Windows themed window frame elements
|
||||
#define NS_THEME_WINDOW_TITLEBAR 231
|
||||
#define NS_THEME_WINDOW_TITLEBAR_MAXIMIZED 232
|
||||
#define NS_THEME_WINDOW_FRAME_LEFT 233
|
||||
#define NS_THEME_WINDOW_FRAME_RIGHT 234
|
||||
#define NS_THEME_WINDOW_FRAME_BOTTOM 235
|
||||
#define NS_THEME_WINDOW_BUTTON_CLOSE 236
|
||||
#define NS_THEME_WINDOW_BUTTON_MINIMIZE 237
|
||||
#define NS_THEME_WINDOW_BUTTON_MAXIMIZE 238
|
||||
#define NS_THEME_WINDOW_BUTTON_RESTORE 239
|
||||
|
@ -592,8 +592,16 @@ CSS_KEY(-moz-win-browsertabbar-toolbox, _moz_win_browsertabbar_toolbox)
|
||||
CSS_KEY(-moz-win-mediatext, _moz_win_mediatext)
|
||||
CSS_KEY(-moz-win-communicationstext, _moz_win_communicationstext)
|
||||
CSS_KEY(-moz-win-glass, _moz_win_glass)
|
||||
CSS_KEY(-moz-window-titlebar, _moz_window_titlebar)
|
||||
CSS_KEY(-moz-window-titlebar-maximized, _moz_window_titlebar_maximized)
|
||||
CSS_KEY(-moz-window-frame-left, _moz_window_frame_left)
|
||||
CSS_KEY(-moz-window-frame-right, _moz_window_frame_right)
|
||||
CSS_KEY(-moz-window-frame-bottom, _moz_window_frame_bottom)
|
||||
CSS_KEY(-moz-window-button-close, _moz_window_button_close)
|
||||
CSS_KEY(-moz-window-button-minimize, _moz_window_button_minimize)
|
||||
CSS_KEY(-moz-window-button-maximize, _moz_window_button_maximize)
|
||||
CSS_KEY(-moz-window-button-restore, _moz_window_button_restore)
|
||||
CSS_KEY(-moz-mac-unified-toolbar, _moz_mac_unified_toolbar)
|
||||
|
||||
CSS_KEY(alphabetic, alphabetic)
|
||||
CSS_KEY(bevel, bevel)
|
||||
CSS_KEY(butt, butt)
|
||||
|
@ -499,7 +499,16 @@ const PRInt32 nsCSSProps::kAppearanceKTable[] = {
|
||||
eCSSKeyword__moz_win_communications_toolbox, NS_THEME_WIN_COMMUNICATIONS_TOOLBOX,
|
||||
eCSSKeyword__moz_win_browsertabbar_toolbox, NS_THEME_WIN_BROWSER_TAB_BAR_TOOLBOX,
|
||||
eCSSKeyword__moz_win_glass, NS_THEME_WIN_GLASS,
|
||||
eCSSKeyword__moz_mac_unified_toolbar, NS_THEME_MOZ_MAC_UNIFIED_TOOLBAR,
|
||||
eCSSKeyword__moz_mac_unified_toolbar, NS_THEME_MOZ_MAC_UNIFIED_TOOLBAR,
|
||||
eCSSKeyword__moz_window_titlebar, NS_THEME_WINDOW_TITLEBAR,
|
||||
eCSSKeyword__moz_window_titlebar_maximized, NS_THEME_WINDOW_TITLEBAR_MAXIMIZED,
|
||||
eCSSKeyword__moz_window_frame_left, NS_THEME_WINDOW_FRAME_LEFT,
|
||||
eCSSKeyword__moz_window_frame_right, NS_THEME_WINDOW_FRAME_RIGHT,
|
||||
eCSSKeyword__moz_window_frame_bottom, NS_THEME_WINDOW_FRAME_BOTTOM,
|
||||
eCSSKeyword__moz_window_button_close, NS_THEME_WINDOW_BUTTON_CLOSE,
|
||||
eCSSKeyword__moz_window_button_minimize, NS_THEME_WINDOW_BUTTON_MINIMIZE,
|
||||
eCSSKeyword__moz_window_button_maximize, NS_THEME_WINDOW_BUTTON_MAXIMIZE,
|
||||
eCSSKeyword__moz_window_button_restore, NS_THEME_WINDOW_BUTTON_RESTORE,
|
||||
eCSSKeyword_UNKNOWN,-1
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user