@@ -41,12 +41,14 @@ interface nsIWebBrowserChrome : nsISupports
41
41
const unsigned long CHROME_TITLEBAR = 1 << 10 ;
42
42
const unsigned long CHROME_EXTRA = 1 << 11 ;
43
43
44
- // createBrowserWindow specific flags
45
- const unsigned long CHROME_WITH_SIZE = 1 << 12 ;
46
- const unsigned long CHROME_WITH_POSITION = 1 << 13 ;
44
+ // Free bits here.
45
+ const unsigned long CHROME_ALL =
46
+ CHROME_WINDOW_BORDERS | CHROME_WINDOW_CLOSE | CHROME_WINDOW_RESIZE |
47
+ CHROME_MENUBAR | CHROME_TOOLBAR | CHROME_LOCATIONBAR |
48
+ CHROME_STATUSBAR | CHROME_PERSONAL_TOOLBAR | CHROME_SCROLLBARS |
49
+ CHROME_TITLEBAR | CHROME_EXTRA;
47
50
48
- // special cases
49
- const unsigned long CHROME_WINDOW_MIN = 1 << 14 ;
51
+ const unsigned long CHROME_WINDOW_MINIMIZE = 1 << 14 ;
50
52
51
53
// whether to open a new private window . CHROME_NON_PRIVATE_WINDOW
52
54
// forces the opened window to be non- private, and overrides
@@ -89,12 +91,10 @@ interface nsIWebBrowserChrome : nsISupports
89
91
const unsigned long CHROME_OPENAS_DIALOG = 1 << 30 ;
90
92
const unsigned long CHROME_OPENAS_CHROME = 1 << 31 ;
91
93
92
- const unsigned long CHROME_ALL = 0x00000ffe;
93
-
94
94
const unsigned long CHROME_MINIMAL_POPUP =
95
95
CHROME_WINDOW_BORDERS | CHROME_WINDOW_CLOSE | CHROME_WINDOW_RESIZE |
96
- CHROME_LOCATIONBAR | CHROME_STATUSBAR | CHROME_SCROLLBARS |
97
- CHROME_TITLEBAR | CHROME_WINDOW_MIN ;
96
+ CHROME_WINDOW_MINIMIZE | CHROME_LOCATIONBAR | CHROME_STATUSBAR |
97
+ CHROME_SCROLLBARS | CHROME_TITLEBAR ;
98
98
99
99
/**
100
100
* The chrome flags for this browser chrome. The implementation should
0 commit comments