Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc.

This commit is contained in:
Jim Mathies 2011-05-13 11:40:46 -05:00
Родитель e430619314
Коммит f14fea2d56
4 изменённых файлов: 7 добавлений и 0 удалений

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

@ -251,3 +251,7 @@
#define NS_THEME_WINDOW_BUTTON_RESTORE 239 #define NS_THEME_WINDOW_BUTTON_RESTORE 239
#define NS_THEME_WINDOW_BUTTON_BOX 240 #define NS_THEME_WINDOW_BUTTON_BOX 240
#define NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED 241 #define NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED 241
// moz-apperance style used in setting proper glass margins
#define NS_THEME_WIN_EXCLUDE_GLASS 242

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

@ -99,6 +99,7 @@ enum Type {
TYPE_VIDEO, TYPE_VIDEO,
TYPE_WRAP_LIST, TYPE_WRAP_LIST,
TYPE_ZOOM, TYPE_ZOOM,
TYPE_EXCLUDE_GLASS_FRAME,
#if defined(MOZ_REFLOW_PERF_DSP) && defined(MOZ_REFLOW_PERF) #if defined(MOZ_REFLOW_PERF_DSP) && defined(MOZ_REFLOW_PERF)
TYPE_REFLOW_COUNT, TYPE_REFLOW_COUNT,

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

@ -583,6 +583,7 @@ CSS_KEY(-moz-window-button-restore, _moz_window_button_restore)
CSS_KEY(-moz-window-button-box, _moz_window_button_box) CSS_KEY(-moz-window-button-box, _moz_window_button_box)
CSS_KEY(-moz-window-button-box-maximized, _moz_window_button_box_maximized) CSS_KEY(-moz-window-button-box-maximized, _moz_window_button_box_maximized)
CSS_KEY(-moz-mac-unified-toolbar, _moz_mac_unified_toolbar) CSS_KEY(-moz-mac-unified-toolbar, _moz_mac_unified_toolbar)
CSS_KEY(-moz-win-exclude-glass, _moz_win_exclude_glass)
CSS_KEY(alphabetic, alphabetic) CSS_KEY(alphabetic, alphabetic)
CSS_KEY(bevel, bevel) CSS_KEY(bevel, bevel)
CSS_KEY(butt, butt) CSS_KEY(butt, butt)

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

@ -579,6 +579,7 @@ const PRInt32 nsCSSProps::kAppearanceKTable[] = {
eCSSKeyword__moz_window_button_restore, NS_THEME_WINDOW_BUTTON_RESTORE, eCSSKeyword__moz_window_button_restore, NS_THEME_WINDOW_BUTTON_RESTORE,
eCSSKeyword__moz_window_button_box, NS_THEME_WINDOW_BUTTON_BOX, eCSSKeyword__moz_window_button_box, NS_THEME_WINDOW_BUTTON_BOX,
eCSSKeyword__moz_window_button_box_maximized, NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED, eCSSKeyword__moz_window_button_box_maximized, NS_THEME_WINDOW_BUTTON_BOX_MAXIMIZED,
eCSSKeyword__moz_win_exclude_glass, NS_THEME_WIN_EXCLUDE_GLASS,
eCSSKeyword_UNKNOWN,-1 eCSSKeyword_UNKNOWN,-1
}; };