106 Commits

Author SHA1 Message Date
danm%netscape.com
eb210e0f11 add new method IsEnabled. bug 126786 r=hyatt,rginda,rods a=asa
git-svn-id: svn://10.0.0.236/trunk@115515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:09:34 +00:00
hewitt%netscape.com
3a936c3077 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag
git-svn-id: svn://10.0.0.236/trunk@115021 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:33:52 +00:00
rjc%netscape.com
b821e260fb Fix bug # 83643: Mac OS X sheets. r=pinkerton sr=ben
git-svn-id: svn://10.0.0.236/trunk@112602 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:17:48 +00:00
danm%netscape.com
2ba1541624 adding parameter to nsIWidget::ConstrainPosition. bug 113283r=hyatt,pavlov
git-svn-id: svn://10.0.0.236/trunk@111613 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:29:18 +00:00
hyatt%netscape.com
02941169ac Fix for 118368, support for drop shadows under menus and tooltips on WinXP, r=bryner, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111432 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 23:50:52 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu
bd12ab9f8c Header include dependency cleanup. b=64023
git-svn-id: svn://10.0.0.236/trunk@99300 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 03:42:59 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
pinkerton%netscape.com
f6f5aed0bc create a new window type for the hidden window so that we can recognize it from Widget. On MacOSX, override the carbon event that repositions windows on-screen for the hidden window only. Let normal windows pass-through. r=danm/sr=sfraser/a=asa. bug 84023.
git-svn-id: svn://10.0.0.236/trunk@96761 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 00:16:13 +00:00
pchen%netscape.com
fc01c4c229 bug 78409, r=pinkerton, sr=hyatt, a=asa, apply patch for bug 66848 which fixes submenus not knowing that its parent menu popped up in the opposite direction (usually because of hitting a screen boundary)
git-svn-id: svn://10.0.0.236/trunk@96344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:03:24 +00:00
hyatt%netscape.com
6e7aecd636 Fix for 76495. r=danm, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@93570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 22:50:16 +00:00
law%netscape.com
ba24c14426 Bug 57576; add SetIcon method to widgets and add code to nsXULWindow to set icons per window; no icons available yet, unless you roll your own; see bug for details; r=mcafee, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@92262 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 00:57:30 +00:00
blizzard%redhat.com
b2e5c45110 Fix bug #72313. Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
danm%netscape.com
11b37438fb add 'activate' parameter to nsIWidget::PlaceBehind. bug 22658 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:21:39 +00:00
danm%netscape.com
e806f00627 new method ConstrainPosition provides implementation-dependent on-screen check for top-level windows. bug 31516 r=saari@netscape.com
git-svn-id: svn://10.0.0.236/trunk@75585 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 14:47:46 +00:00
michael.lowe%bigfoot.com
89eff2adf7 Implement CSS3 cursors on Windows
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +00:00
michael.lowe%bigfoot.com
8807cc67e0 Implement CSS2 resize cursors on Windows (bug 1916)
git-svn-id: svn://10.0.0.236/trunk@67665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 15:29:32 +00:00
danm%netscape.com
5923e169e1 add PlaceBehind (other widget) method
git-svn-id: svn://10.0.0.236/trunk@64899 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:10:22 +00:00
danm%netscape.com
3513417ecb adding methods to set and get the size mode (normal,minimized...). bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62435 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:55:48 +00:00
kmcclusk%netscape.com
8c6ad56e81 Added ScrollWidgets method to nsIWidget. Added stub for ScrollWidgets to nsBaseWidget. Implemented nsScrollWidgets and nsScrollRect on WIN32. bug 22067; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57866 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:38:50 +00:00
bryner%uiuc.edu
23db985639 Removing unused code that is #ifdef LOSER. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@57468 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:27:01 +00:00
danm%netscape.com
2f43f8a62d new method GetScreenBounds. part of bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56922 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:28:41 +00:00
syd%netscape.com
a9c6930f9b Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.


git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
law%netscape.com
f6869e82d6 18518; Add nsIWidget::Flash with null default implementation in nsBaseWidget and real functionality in Windows version of nsWindow; r=syd@netscape.com, a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55844 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 07:20:51 +00:00
danm%netscape.com
3f552485cf Add ModalEventFilter (originally nsAppShell::EventIsForModalWindow) and add parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@53374 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:30 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pavlov%netscape.com
da0e9ca233 add ScrollRect method to nsIWidget -- implimented on linux and stubbed in nsBaseWidget for mac and windows. Added ifdef'd scrolling code that makes scrolling really fast on linux. Updated nsIWidget.idl (not built) to merge some changes from a branch and added ScrollRect. Added ifdefs for using gtk_fixed instead of gtk_layout as part of the new scrolling code.
git-svn-id: svn://10.0.0.236/trunk@51610 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 01:17:20 +00:00
rods%netscape.com
5b32db8a61 Added ConsumeEvents parameter to CaptureRollupEvents
git-svn-id: svn://10.0.0.236/trunk@49440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 14:36:17 +00:00
pavlov%netscape.com
a27e5441c4 work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard
git-svn-id: svn://10.0.0.236/trunk@49180 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:31:41 +00:00
beard%netscape.com
677002e392 bug #10503: added SetZIndex & GetZIndex. a=leaf, r=troy
git-svn-id: svn://10.0.0.236/trunk@48933 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:25 +00:00
rods%netscape.com
c76b7f5014 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@48564 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 11:22:21 +00:00
rods%netscape.com
bec1bc2434 Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor


git-svn-id: svn://10.0.0.236/trunk@44672 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:17 +00:00
pavlov%netscape.com
caa1f84ed3 remove unused tab widget and tooltip widget as they have never been used
git-svn-id: svn://10.0.0.236/trunk@43984 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:41:46 +00:00
pavlov%netscape.com
3d06577d5b back out previous changes
git-svn-id: svn://10.0.0.236/trunk@41665 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 02:28:56 +00:00
pavlov%netscape.com
02d920528c minimize/maximize/restore code
git-svn-id: svn://10.0.0.236/trunk@41630 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:53:17 +00:00
kmcclusk%netscape.com
4da058a9e8 bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.


git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
2952bfebae better comments describing the window border styles
git-svn-id: svn://10.0.0.236/trunk@41309 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 20:37:53 +00:00
pavlov%netscape.com
947d846be6 window creation changes
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
danm%netscape.com
3967f2f182 removing IsMenuBarVisible -- it was a mistake, and unused
git-svn-id: svn://10.0.0.236/trunk@40741 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:41:50 +00:00
rods%netscape.com
babd03ec48 changed all IIDs to use NS_DEFINE_STATIC_IID_ACCESSOR
git-svn-id: svn://10.0.0.236/trunk@39532 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:54:02 +00:00
kmcclusk%netscape.com
12a07070be fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.


git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
norris%netscape.com
205ddb1970 Tom Pixley's code for the beginnings of DOM security, with a fix for the previous Mac link failure.
git-svn-id: svn://10.0.0.236/trunk@38654 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:50:03 +00:00
ramiro%netscape.com
43391c2dca Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.


git-svn-id: svn://10.0.0.236/trunk@38035 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:06:48 +00:00
kmcclusk%netscape.com
44272bfdbf Added CaptureMouse method to nsIWidget. Implemented CaptureMouse in nsWindow.cpp
Added a base implementation to nsBaseWidget.cpp.


git-svn-id: svn://10.0.0.236/trunk@36076 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:37:50 +00:00
syd%netscape.com
c009860f8f Add SetModal() widget interface to nsIWidget, and provide an implementation
for Gtk+. Now, when we do modal dialogs, Gtk+ calls a routine that makes the
dialog modal within Gtk+; this is in addition to the code in nsWebShellWindow
that is being invoked to support modals on the other platforms. For Gtk+, the
nsWebShellWindow code doesn't appear to be enough; in order for the event
plumbing to stay alive, we need to call into Gtk+, and unless we actually make
the dialog modal using Gtk+ mechanisms, the user can still get to the menu bar, which is not good.


git-svn-id: svn://10.0.0.236/trunk@35095 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:56:08 +00:00
danm%netscape.com
55cfe73afc teach (or stub) nsWidget to show/hide and query visible state of menubars
git-svn-id: svn://10.0.0.236/trunk@34436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:01:55 +00:00
danm%netscape.com
21ed2a65fd adding ShowMenuBar
git-svn-id: svn://10.0.0.236/trunk@33711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:00:30 +00:00
av%netscape.com
4cc6799ade Getting windowless plugin stuff into
git-svn-id: svn://10.0.0.236/trunk@33030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:09 +00:00
syd%netscape.com
ed676036e3 Remove SetModal interface.
git-svn-id: svn://10.0.0.236/trunk@30869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:14:35 +00:00
pavlov%pavlov.net
357df7071a add eBorderStyle_BorderlessTopLevel
git-svn-id: svn://10.0.0.236/trunk@29059 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 16:33:12 +00:00