Commit Graph

74 Commits

Author SHA1 Message Date
Jacek Caban aa4d9190a0 mshtml: Move user mode to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban eca21a38c1 mshtml: Rename NSContainer to GeckoBrowser.
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Alex Henrie 31deafe153 mshtml: Turn several constants and variables into static constants.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Michael Stefaniuc 12b85004aa mshtml: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Jacek Caban 92e3036c72 mshtml: Implement IOleDocumentView and IViewObjectEx interfaces in HTMLDocumentObj object instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-28 19:39:29 +01:00
Jacek Caban 3dd152dc59 mshtml: Pass document as HTMLDocumentObj to update_doc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:37 +01:00
Michael Stefaniuc 41992ae38d mshtml: Use EqualRect() to compare RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-23 17:30:31 +02:00
Michael Stefaniuc 85916a10ad mshtml: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-01 09:44:58 -05:00
Michael Stefaniuc 3223e15230 mshtml: Avoid using LPSTREAM.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:30 +09:00
Michael Stefaniuc db8159ee89 mshtml: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 13:36:16 +09:00
Jacek Caban 8e2fd3a9be mshtml: Get rid of no longer used painting fallback for missing Gecko. 2012-10-23 19:44:05 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban 0847563dd4 mshtml: Forward BSCallback::QueryService call to document. 2012-05-30 17:17:58 +02:00
Jacek Caban cf9d0d320c mshtml: Added IWindowForBindingUI stub implementation. 2012-05-30 17:17:57 +02:00
Thomas Faber a105f22e17 mshtml: Initialize OLEINPLACEFRAMEINFO.cb for IOleInPlaceSite::GetWindowContext. 2011-03-18 16:05:09 +01:00
Michael Stefaniuc 541a49edc2 mshtml: COM cleanup for all the IOleCommandTarget ifaces. 2010-12-27 11:51:25 +01:00
Michael Stefaniuc 62e9961e29 mshtml: COM cleanup for the IOleInPlaceObjectWindowless iface. 2010-12-23 13:47:25 +01:00
Michael Stefaniuc 176358216f mshtml: COM cleanup for the IViewObjectEx iface. 2010-12-23 13:47:25 +01:00
Michael Stefaniuc b09dc2e5b1 mshtml: COM cleanup for the IOleInPlaceActiveObject iface. 2010-12-23 13:47:25 +01:00
Michael Stefaniuc 37c3091f27 mshtml: COM cleanup for the IOleDocumentView iface. 2010-12-23 13:47:24 +01:00
Jacek Caban c63a5fa8fd mshtml: IHTMLDocument2 iface handling clean up. 2010-12-17 13:26:01 +01:00
Jacek Caban 7cdad62b97 mshtml: Improved focus handling. 2010-04-13 21:12:08 +02:00
Francois Gouget 3428b94a8d Assorted spelling and case fixes. 2010-03-22 10:49:13 +01:00
Jacek Caban a84741182f mshtml: Added IViewObject::SetAdvise implementation. 2010-02-15 16:11:12 +01:00
Piotr Caban bffa74a1c3 mshtml: Added ViewObjectEx stub implementation. 2009-12-16 13:04:34 +01:00
Piotr Caban 8c06ed96ae mshtml: Improved OleDocumentView_UIActivate implementation. 2009-12-07 15:41:18 +01:00
Jacek Caban 95080eac65 mshtml: Move update flags to HTMLDocumentObj. 2009-09-17 09:47:48 -05:00
Jacek Caban 56b69dff4a mshtml: Moved usermode to HTMLDocumentObj. 2009-09-17 09:41:56 -05:00
Jacek Caban b3c2b380b8 mshtml: Moved state flags to HTMLDocumentObj. 2009-09-17 09:41:37 -05:00
Jacek Caban e1aa05b13e mshtml: Moved hostinfo to HTMLDocumentObj. 2009-09-17 09:41:15 -05:00
Jacek Caban fffc8c66fd mshtml: Moved hwnd and tooltip_hwnd to HTMLDocumentObj. 2009-09-17 09:41:09 -05:00
Jacek Caban 0d15ad8be4 mshtml: Move client site ifaces to HTMLDocumentObj. 2009-09-17 09:40:53 -05:00
Jacek Caban b827996515 mshtml: Moved NSContainer to HTMLDocumentObj. 2009-09-17 09:40:35 -05:00
Michael Stefaniuc 27d8b7436f mshtml: Remove two superfluous casts. 2008-12-05 12:36:14 +01:00
Jacek Caban b5aa4dd8e6 mshtml: Don't crash in notif_focus if client is NULL. 2008-10-13 11:16:27 +02:00
Jacek Caban 5e7cf7987f mshtml: Don't crash in UIActivate if hostui is NULL. 2008-10-13 11:16:15 +02:00
Michael Stefaniuc a084d1db62 mshtml: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-12-06 12:07:30 +01:00
Jacek Caban 3f444cae92 mshtml: Move IOleInPlaceFrame::SetActiveObject call to separated function. 2007-11-20 13:20:52 +01:00
Luke Bratch 7ce4194c79 mshtml: Fix text input fields. 2007-10-23 18:18:28 +02:00
Jacek Caban 62894b488d mshtml: Import dimm.idl and fix compilation. 2007-10-18 12:05:49 +02:00
Jacek Caban 23465f2183 mshtml: Don't crash in UIActivate if Gecko is not available. 2007-09-24 13:44:42 +02:00
Rob Shearman 9a67e1ffe5 mshtml: Pass the correct DOCHOSTUITYPE value to IDocHostUIHandler_ShowUI.
Don't reset window_active in OleDocumentView_UIActivate.
2007-07-25 13:03:10 +02:00
Rob Shearman 92b3cab791 mshtml: OleDocumentView_UIActivate should call IOleInPlaceUIWindow_SetActiveObject and IOleInPlaceFrame_SetBorderSpace.
Add a test to show this behaviour.
Don't call nsIWebBrowserFocus_Activate when just activating the window. 
Instead call it when UI-activating the window.
2007-07-25 13:03:05 +02:00
Jacek Caban 5baf587c43 mshtml: Notify IOleControlSite about focus changes. 2007-06-25 12:09:29 +02:00
Jacek Caban 946acd062d mshtml: Activate nsWebBrowser after creating document window. 2007-06-25 12:09:23 +02:00
Jacek Caban cf0c911305 mshtml: Use IOleInPlaceSiteEx if available. 2007-06-15 12:40:39 +02:00
Jacek Caban 20d77432a2 mshtml: Move Exec(OLECMDID_SETTITLE) call to separated function and use it in on_timer. 2007-06-11 15:13:43 +02:00
Jacek Caban d8e518eb68 mshtml: Call UpdateUI and Exec(OLECMDID_UPDATECOMMANDS) from timer callback. 2007-06-11 15:11:56 +02:00
Jacek Caban 4a71ab79f5 mshtml: Added missing WINAPI in window proc. 2007-05-25 19:30:34 +02:00
Jacek Caban 396b0ad126 mshtml: Added border implementation. 2006-11-13 12:52:05 +01:00