ReactOS  0.4.13-dev-990-g6d23816
DWebBrowserEvents2Impl Struct Reference

#include <webchild.h>

Inheritance diagram for DWebBrowserEvents2Impl:
Collaboration diagram for DWebBrowserEvents2Impl:

Public Types

typedef IComSrvBase< FixedDWebBrowserEvents2, DWebBrowserEvents2Implsuper
 

Public Member Functions

 DWebBrowserEvents2Impl (BrowserNavigator &navigator)
 
STDMETHOD() GetTypeInfoCount (UINT *pctinfo)
 
STDMETHOD() GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
STDMETHOD() GetIDsOfNames (REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
STDMETHOD() Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS __RPC_FAR *pDispParams, VARIANT __RPC_FAR *pVarResult, EXCEPINFO __RPC_FAR *pExcepInfo, UINT __RPC_FAR *puArgErr)
 
- Public Member Functions inherited from IComSrvBase< FixedDWebBrowserEvents2, DWebBrowserEvents2Impl >
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
- Public Member Functions inherited from IComSrvQI< FixedDWebBrowserEvents2 >
 IComSrvQI (REFIID uuid_base)
 
STDMETHODIMP QueryInterface (REFIID riid, LPVOID *ppv)
 
- Public Member Functions inherited from SimpleComObject
ULONG IncRef ()
 
ULONG DecRef ()
 
- Public Member Functions inherited from DWebBrowserEvents2IF
virtual ~DWebBrowserEvents2IF ()
 
virtual void StatusTextChange (const BStr &text)
 
virtual void ProgressChange (long progress, long progressMax)
 
virtual void WindowMove ()
 
virtual void WindowResize ()
 
virtual void WindowActivate ()
 
virtual void PropertyChange (const BStr &property)
 
virtual void DownloadComplete ()
 
virtual void CommandStateChange (long command, bool enable)
 
virtual void DownloadBegin ()
 
virtual void NewWindow2 (IDispatch **ppDisp, VARIANT_BOOL &cancel)
 
virtual void TitleChange (const BStr &text)
 
virtual void TitleIconChange (const BStr &text)
 
virtual void FrameBeforeNavigate (const BStr &url, long flags, const BStr &targetFrameName, VARIANT *postData, const BStr &headers, VARIANT_BOOL &cancel)
 
virtual void FrameNavigateComplete (const BStr &url)
 
virtual void FrameNewWindow (const BStr &url, long flags, const BStr &targetFrameName, VARIANT *postData, const BStr &headers, VARIANT_BOOL &processed)
 
virtual void BeforeNavigate2 (IDispatch *pDisp, const Variant &url, const Variant &flags, const Variant &targetFrameName, const Variant &postData, const Variant &headers, VARIANT_BOOL &cancel)
 
virtual void OnQuit ()
 
virtual void OnVisible (bool Visible)
 
virtual void OnToolbar (bool Visible)
 
virtual void OnMenubar (bool Visible)
 
virtual void OnStatusbar (bool Visible)
 
virtual void OnFullscreen (bool Visible)
 
virtual void DocumentComplete ()
 
virtual void OnTheatermode (bool Visible)
 
virtual void OnAddressbar (bool Visible)
 
virtual void WindowSetResizable (bool Visible)
 
virtual void WindowClosing (VARIANT_BOOL IsChildWindow, VARIANT_BOOL &cancel)
 
virtual void WindowSetLeft (long Left)
 
virtual void WindowSetTop (long Top)
 
virtual void WindowSetWidth (long Width)
 
virtual void WindowSetHeight (long Height)
 
virtual void ClientToHostWindow (long &CX, long &CY)
 
virtual void SetSecureLockIcon (long SecureLockIcon)
 
virtual void FileDownload (Variant &cancel)
 
virtual void NavigateError (IDispatch *pDisp, const Variant &url, const Variant &Frame, const Variant &StatusCode, VARIANT_BOOL &cancel)
 
virtual void PrivacyImpactedStateChange (bool bImpacted)
 

Public Attributes

DWebBrowserEvents2IF_callback
 

Protected Member Functions

void NavigateComplete2 (IDispatch *pDisp, const Variant &url)
 
- Protected Member Functions inherited from IComSrvBase< FixedDWebBrowserEvents2, DWebBrowserEvents2Impl >
 IComSrvBase (REFIID uuid_base)
 
- Protected Member Functions inherited from IComSrvQI< FixedDWebBrowserEvents2 >
 IComSrvQI ()
 
virtual ~IComSrvQI ()
 
- Protected Member Functions inherited from ComSrvObject
 ComSrvObject ()
 
virtual ~ComSrvObject ()
 

Protected Attributes

BrowserNavigator_navigator
 
- Protected Attributes inherited from IComSrvQI< FixedDWebBrowserEvents2 >
REFIID _uuid_base
 
- Protected Attributes inherited from ComSrvObject
ULONG _ref
 

Detailed Description

Definition at line 533 of file webchild.h.

Member Typedef Documentation

◆ super

Definition at line 537 of file webchild.h.

Constructor & Destructor Documentation

◆ DWebBrowserEvents2Impl()

DWebBrowserEvents2Impl::DWebBrowserEvents2Impl ( BrowserNavigator navigator)
inline

Definition at line 543 of file webchild.h.

544  : super(DIID_DWebBrowserEvents2),
545  _navigator(navigator)
546  {
547  _callback = this;
548  }
DWebBrowserEvents2IF * _callback
Definition: webchild.h:540
BrowserNavigator & _navigator
Definition: webchild.h:822
IComSrvBase< FixedDWebBrowserEvents2, DWebBrowserEvents2Impl > super
Definition: webchild.h:537

Member Function Documentation

◆ GetIDsOfNames()

STDMETHOD() DWebBrowserEvents2Impl::GetIDsOfNames ( REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
inline

Definition at line 570 of file webchild.h.

571  {return E_NOTIMPL;}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ GetTypeInfo()

STDMETHOD() DWebBrowserEvents2Impl::GetTypeInfo ( UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
inline

Definition at line 567 of file webchild.h.

568  {return E_NOTIMPL;}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ GetTypeInfoCount()

STDMETHOD() DWebBrowserEvents2Impl::GetTypeInfoCount ( UINT pctinfo)
inline

Definition at line 564 of file webchild.h.

565  {return E_NOTIMPL;}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ Invoke()

STDMETHOD() DWebBrowserEvents2Impl::Invoke ( DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS __RPC_FAR pDispParams,
VARIANT __RPC_FAR pVarResult,
EXCEPINFO __RPC_FAR pExcepInfo,
UINT __RPC_FAR puArgErr 
)
inline

Definition at line 573 of file webchild.h.

575  {
576  switch(dispIdMember) {
578  _callback->StatusTextChange((BStr)Variant(pDispParams->rgvarg[0]));
579  break;
580 
582  _callback->CommandStateChange(Variant(pDispParams->rgvarg[1]), Variant(pDispParams->rgvarg[0]));
583  break;
584 
587  break;
588 
589  case DISPID_PROGRESSCHANGE: // sent when download progress is updated
590  _callback->ProgressChange(Variant(pDispParams->rgvarg[1]), Variant(pDispParams->rgvarg[0]));
591  break;
592 
593  case DISPID_WINDOWMOVE: // sent when main window has been moved
595  break;
596 
597  case DISPID_WINDOWRESIZE: // sent when main window has been sized
599  break;
600 
601  case DISPID_WINDOWACTIVATE: // sent when main window has been activated
603  break;
604 
605  case DISPID_PROPERTYCHANGE: // sent when the PutProperty method is called
606  _callback->PropertyChange((BStr)Variant(pDispParams->rgvarg[0]));
607  break;
608 
609  case DISPID_TITLECHANGE: // sent when the document title changes
610  _callback->TitleChange((BStr)Variant(pDispParams->rgvarg[0]));
611  break;
612 
613  case DISPID_TITLEICONCHANGE: // sent when the top level window icon may have changed.
614  _callback->TitleIconChange((BStr)Variant(pDispParams->rgvarg[0]));
615  break;
616 
617 
618  // anything below here is not present in DWebBrowserEvents, only in DWebBrowserEvents2: ->
619 
621  if (pDispParams->cArgs != 6)
622  return E_INVALIDARG;
623  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
624  return E_INVALIDARG;
626  (BStr)Variant(&pDispParams->rgvarg[5]), Variant(&pDispParams->rgvarg[4]),
627  (BStr)Variant(&pDispParams->rgvarg[3]), &pDispParams->rgvarg[2],
628  (BStr)Variant(&pDispParams->rgvarg[1]), *V_BOOLREF(&pDispParams->rgvarg[0]));
629  break;
630 
632  if (pDispParams->cArgs != 1)
633  return E_INVALIDARG;
634  _callback->FrameNavigateComplete((BStr)Variant(pDispParams->rgvarg[0]));
635  break;
636 
638  if (pDispParams->cArgs != 6)
639  return E_INVALIDARG;
640  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
641  return E_INVALIDARG;
642  _callback->FrameNewWindow((BStr)Variant(&pDispParams->rgvarg[5]), Variant(&pDispParams->rgvarg[4]),
643  (BStr)Variant(&pDispParams->rgvarg[3]), &pDispParams->rgvarg[2],
644  (BStr)Variant(&pDispParams->rgvarg[1]), *V_BOOLREF(&pDispParams->rgvarg[0]));
645  break;
646 
647  case DISPID_BEFORENAVIGATE2: // hyperlink clicked on
648  if (pDispParams->cArgs != 7)
649  return E_INVALIDARG;
650  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
651  return E_INVALIDARG;
652  _callback->BeforeNavigate2(Variant(pDispParams->rgvarg[6]),
653  pDispParams->rgvarg[5], &pDispParams->rgvarg[4],
654  pDispParams->rgvarg[3], &pDispParams->rgvarg[2],
655  pDispParams->rgvarg[1], *V_BOOLREF(&pDispParams->rgvarg[0]));
656  break;
657 
658  case DISPID_NEWWINDOW2: // sent when a new window should be created
659  if (pDispParams->cArgs != 2)
660  return E_INVALIDARG;
661  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
662  return E_INVALIDARG;
663  if (V_VT(&pDispParams->rgvarg[1]) != (VT_DISPATCH|VT_BYREF))
664  return E_INVALIDARG;
665  _callback->NewWindow2(V_DISPATCHREF(&pDispParams->rgvarg[1]), *V_BOOLREF(&pDispParams->rgvarg[0]));
666  break;
667 
668  case DISPID_NAVIGATECOMPLETE2:// UIActivate new document
669  if (pDispParams->cArgs != 2)
670  return E_INVALIDARG;
671 
672  // notify the navigator
673  NavigateComplete2(Variant(pDispParams->rgvarg[1]), Variant(pDispParams->rgvarg[0]));
674 
675  _callback->NavigateComplete2(Variant(pDispParams->rgvarg[1]), Variant(pDispParams->rgvarg[0]));
676  break;
677 
678  case DISPID_ONQUIT:
679  _callback->OnQuit();
680  break;
681 
682  case DISPID_ONVISIBLE: // sent when the window goes visible/hidden
683  if (pDispParams->cArgs != 1)
684  return E_INVALIDARG;
685  _callback->OnVisible(Variant(pDispParams->rgvarg[0]));
686  break;
687 
688  case DISPID_ONTOOLBAR: // sent when the toolbar should be shown/hidden
689  if (pDispParams->cArgs != 1)
690  return E_INVALIDARG;
691  _callback->OnToolbar(Variant(pDispParams->rgvarg[0]));
692  break;
693 
694  case DISPID_ONMENUBAR: // sent when the menubar should be shown/hidden
695  if (pDispParams->cArgs != 1)
696  return E_INVALIDARG;
697  _callback->OnMenubar(Variant(pDispParams->rgvarg[0]));
698  break;
699 
700  case DISPID_ONSTATUSBAR: // sent when the statusbar should be shown/hidden
701  if (pDispParams->cArgs != 1)
702  return E_INVALIDARG;
703  _callback->OnStatusbar(Variant(pDispParams->rgvarg[0]));
704  break;
705 
706  case DISPID_ONFULLSCREEN: // sent when kiosk mode should be on/off
707  if (pDispParams->cArgs != 1)
708  return E_INVALIDARG;
709  _callback->OnFullscreen(Variant(pDispParams->rgvarg[0]));
710  break;
711 
712  case DISPID_DOCUMENTCOMPLETE:// new document goes ReadyState_Complete
714  break;
715 
718  break;
719 
720  case DISPID_ONTHEATERMODE: // sent when theater mode should be on/off
721  if (pDispParams->cArgs != 1)
722  return E_INVALIDARG;
723  _callback->OnTheatermode(Variant(pDispParams->rgvarg[0]));
724  break;
725 
726  case DISPID_ONADDRESSBAR: // sent when the address bar should be shown/hidden
727  if (pDispParams->cArgs != 1)
728  return E_INVALIDARG;
729  _callback->OnAddressbar(Variant(pDispParams->rgvarg[0]));
730  break;
731 
732  case DISPID_WINDOWSETRESIZABLE:// sent to set the style of the host window frame
733  if (pDispParams->cArgs != 1)
734  return E_INVALIDARG;
735  _callback->WindowSetResizable(Variant(pDispParams->rgvarg[0]));
736  break;
737 
738  case DISPID_WINDOWCLOSING: // sent before script window.close closes the window
739  if (pDispParams->cArgs != 2)
740  return E_INVALIDARG;
741  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
742  return E_INVALIDARG;
743  _callback->WindowClosing(Variant(pDispParams->rgvarg[1]), *V_BOOLREF(&pDispParams->rgvarg[0]));
744  break;
745 
746  case DISPID_WINDOWSETLEFT: // sent when the put_left method is called on the WebOC
747  if (pDispParams->cArgs != 1)
748  return E_INVALIDARG;
749  _callback->WindowSetLeft(Variant(pDispParams->rgvarg[0]));
750  break;
751 
752  case DISPID_WINDOWSETTOP: // sent when the put_top method is called on the WebOC
753  if (pDispParams->cArgs != 1)
754  return E_INVALIDARG;
755  _callback->WindowSetTop(Variant(pDispParams->rgvarg[0]));
756  break;
757 
758  case DISPID_WINDOWSETWIDTH: // sent when the put_width method is called on the WebOC
759  if (pDispParams->cArgs != 1)
760  return E_INVALIDARG;
761  _callback->WindowSetWidth(Variant(pDispParams->rgvarg[0]));
762  break;
763 
764  case DISPID_WINDOWSETHEIGHT: // sent when the put_height method is called on the WebOC
765  if (pDispParams->cArgs != 1)
766  return E_INVALIDARG;
767  _callback->WindowSetHeight(Variant(pDispParams->rgvarg[0]));
768  break;
769 
770  case DISPID_CLIENTTOHOSTWINDOW:// sent during window.open to request conversion of dimensions
771  {
772  long cx, cy;
773  if (pDispParams->cArgs != 2)
774  return E_INVALIDARG;
775  if (V_VT(&pDispParams->rgvarg[0]) != (VT_I4|VT_BYREF))
776  return E_INVALIDARG;
777  if (V_VT(&pDispParams->rgvarg[1]) != (VT_I4|VT_BYREF))
778  return E_INVALIDARG;
779  cx = *V_I4REF(&pDispParams->rgvarg[1]);
780  cy = *V_I4REF(&pDispParams->rgvarg[0]);
782  break;
783  }
784 
785  case DISPID_SETSECURELOCKICON:// sent to suggest the appropriate security icon to show
786  if (pDispParams->cArgs != 1)
787  return E_INVALIDARG;
788  _callback->SetSecureLockIcon(Variant(pDispParams->rgvarg[0]));
789  break;
790 
791  case DISPID_FILEDOWNLOAD: { // Fired to indicate the File Download dialog is opening
792  if (pDispParams->cArgs != 1) //@@ every time 2 ?!
793  return E_INVALIDARG;
794  Variant var(pDispParams->rgvarg[0]);
795  _callback->FileDownload(var);}
796  break;
797 
798  case DISPID_NAVIGATEERROR: // Fired to indicate the a binding error has occured
799  if (pDispParams->cArgs != 5)
800  return E_INVALIDARG;
801  if (V_VT(&pDispParams->rgvarg[0]) != (VT_BOOL|VT_BYREF))
802  return E_INVALIDARG;
803  _callback->NavigateError(Variant(pDispParams->rgvarg[4]), Variant(pDispParams->rgvarg[3]),
804  Variant(pDispParams->rgvarg[2]), Variant(pDispParams->rgvarg[1]),
805  *V_BOOLREF(&pDispParams->rgvarg[0]));
806  break;
807 
808  case DISPID_PRIVACYIMPACTEDSTATECHANGE:// Fired when the user's browsing experience is impacted
809  if (pDispParams->cArgs != 1)
810  return E_INVALIDARG;
811  _callback->PrivacyImpactedStateChange(Variant(pDispParams->rgvarg[0]));
812  break;
813 
814  default:
815  return NOERROR;
816  }
817 
818  return S_OK;
819  }
virtual void OnTheatermode(bool Visible)
Definition: webchild.h:463
#define DISPID_COMMANDSTATECHANGE
Definition: webchild.h:40
#define DISPID_BEFORENAVIGATE2
Definition: exdispid.h:43
virtual void ClientToHostWindow(long &CX, long &CY)
Definition: webchild.h:487
Definition: compat.h:1939
virtual void FrameNewWindow(const BStr &url, long flags, const BStr &targetFrameName, VARIANT *postData, const BStr &headers, VARIANT_BOOL &processed)
Definition: webchild.h:431
#define NOERROR
Definition: winerror.h:2354
virtual void WindowResize()
Definition: webchild.h:398
virtual void OnMenubar(bool Visible)
Definition: webchild.h:451
#define DISPID_ONVISIBLE
Definition: webchild.h:56
#define DISPID_ONSTATUSBAR
Definition: webchild.h:59
virtual void WindowClosing(VARIANT_BOOL IsChildWindow, VARIANT_BOOL &cancel)
Definition: webchild.h:472
#define DISPID_DOCUMENTCOMPLETE
Definition: webchild.h:61
virtual void OnVisible(bool Visible)
Definition: webchild.h:445
#define DISPID_DOWNLOADCOMPLETE
Definition: webchild.h:39
DWebBrowserEvents2IF * _callback
Definition: webchild.h:540
virtual void WindowSetLeft(long Left)
Definition: webchild.h:475
virtual void WindowActivate()
Definition: webchild.h:401
#define DISPID_CLIENTTOHOSTWINDOW
Definition: webchild.h:70
#define DISPID_FRAMENAVIGATECOMPLETE
Definition: webchild.h:51
virtual void DownloadComplete()
Definition: webchild.h:407
virtual void WindowSetHeight(long Height)
Definition: webchild.h:484
#define DISPID_STATUSTEXTCHANGE
Definition: webchild.h:37
#define DISPID_WINDOWSETRESIZABLE
Definition: webchild.h:64
#define DISPID_ONADDRESSBAR
Definition: webchild.h:63
#define DISPID_TITLECHANGE
Definition: webchild.h:48
virtual void WindowMove()
Definition: webchild.h:395
#define DISPID_ONTOOLBAR
Definition: webchild.h:57
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:570
#define E_INVALIDARG
Definition: ddrawi.h:101
#define DISPID_NAVIGATECOMPLETE2
Definition: webchild.h:54
#define V_BOOLREF(A)
Definition: oleauto.h:225
virtual void NavigateError(IDispatch *pDisp, const Variant &url, const Variant &Frame, const Variant &StatusCode, VARIANT_BOOL &cancel)
Definition: webchild.h:496
virtual void WindowSetResizable(bool Visible)
Definition: webchild.h:469
#define DISPID_FRAMEBEFORENAVIGATE
Definition: webchild.h:50
#define DISPID_WINDOWCLOSING
Definition: webchild.h:65
virtual void OnAddressbar(bool Visible)
Definition: webchild.h:466
virtual void BeforeNavigate2(IDispatch *pDisp, const Variant &url, const Variant &flags, const Variant &targetFrameName, const Variant &postData, const Variant &headers, VARIANT_BOOL &cancel)
Definition: webchild.h:434
#define DISPID_FRAMENEWWINDOW
Definition: webchild.h:52
virtual void TitleChange(const BStr &text)
Definition: webchild.h:419
#define V_I4REF(A)
Definition: oleauto.h:248
#define DISPID_WINDOWMOVE
Definition: webchild.h:44
virtual void FrameNavigateComplete(const BStr &url)
Definition: webchild.h:428
#define DISPID_WINDOWRESIZE
Definition: webchild.h:45
virtual void StatusTextChange(const BStr &text)
Definition: webchild.h:389
virtual void PropertyChange(const BStr &property)
Definition: webchild.h:404
virtual void FileDownload(Variant &cancel)
Definition: webchild.h:493
virtual void NavigateComplete2(IDispatch *pDisp, const Variant &url)
Definition: webchild.h:439
virtual void OnToolbar(bool Visible)
Definition: webchild.h:448
virtual void SetSecureLockIcon(long SecureLockIcon)
Definition: webchild.h:490
void NavigateComplete2(IDispatch *pDisp, const Variant &url)
Definition: webchild.h:824
virtual void PrivacyImpactedStateChange(bool bImpacted)
Definition: webchild.h:499
#define DISPID_ONMENUBAR
Definition: webchild.h:58
virtual void DocumentComplete()
Definition: webchild.h:460
#define DISPID_NAVIGATEERROR
Definition: webchild.h:73
virtual void WindowSetWidth(long Width)
Definition: webchild.h:481
#define DISPID_DOWNLOADBEGIN
Definition: webchild.h:41
#define V_VT(A)
Definition: oleauto.h:211
#define DISPID_ONTHEATERMODE
Definition: webchild.h:62
#define DISPID_WINDOWSETTOP
Definition: webchild.h:67
virtual void OnStatusbar(bool Visible)
Definition: webchild.h:454
#define DISPID_PRIVACYIMPACTEDSTATECHANGE
Definition: webchild.h:74
virtual void OnQuit()
Definition: webchild.h:442
#define S_OK
Definition: intsafe.h:59
#define DISPID_SETSECURELOCKICON
Definition: webchild.h:71
#define DISPID_WINDOWSETWIDTH
Definition: webchild.h:68
#define DISPID_FILEDOWNLOAD
Definition: webchild.h:72
virtual void WindowSetTop(long Top)
Definition: webchild.h:478
#define DISPID_ONFULLSCREEN
Definition: webchild.h:60
_Out_opt_ int * cx
Definition: commctrl.h:570
#define DISPID_PROGRESSCHANGE
Definition: webchild.h:43
virtual void DownloadBegin()
Definition: webchild.h:413
#define DISPID_PROPERTYCHANGE
Definition: webchild.h:47
virtual void OnFullscreen(bool Visible)
Definition: webchild.h:457
virtual void FrameBeforeNavigate(const BStr &url, long flags, const BStr &targetFrameName, VARIANT *postData, const BStr &headers, VARIANT_BOOL &cancel)
Definition: webchild.h:425
#define DISPID_NEWWINDOW2
Definition: exdispid.h:44
#define DISPID_WINDOWACTIVATE
Definition: webchild.h:46
virtual void CommandStateChange(long command, bool enable)
Definition: webchild.h:410
virtual void NewWindow2(IDispatch **ppDisp, VARIANT_BOOL &cancel)
Definition: webchild.h:416
virtual void ProgressChange(long progress, long progressMax)
Definition: webchild.h:392
#define V_DISPATCHREF(A)
Definition: oleauto.h:240
#define DISPID_WINDOWSETLEFT
Definition: webchild.h:66
virtual void TitleIconChange(const BStr &text)
Definition: webchild.h:422
#define DISPID_WINDOWSETHEIGHT
Definition: webchild.h:69
#define DISPID_TITLEICONCHANGE
Definition: webchild.h:49
#define DISPID_ONQUIT
Definition: webchild.h:55

◆ NavigateComplete2()

void DWebBrowserEvents2Impl::NavigateComplete2 ( IDispatch pDisp,
const Variant &  url 
)
inlineprotectedvirtual

Reimplemented from DWebBrowserEvents2IF.

Reimplemented in WebChildWindow.

Definition at line 824 of file webchild.h.

825  {
826  String adr = (BStr)url;
827 
828  _navigator.navigated(adr);
829  }
void navigated(LPCTSTR url)
Definition: webchild.cpp:133
static WCHAR String[]
Definition: stringtable.c:55
BrowserNavigator & _navigator
Definition: webchild.h:822
static const WCHAR url[]
Definition: encode.c:1432

Referenced by WebChildWindow::NavigateComplete2().

Member Data Documentation

◆ _callback

DWebBrowserEvents2IF* DWebBrowserEvents2Impl::_callback

Definition at line 540 of file webchild.h.

◆ _navigator

BrowserNavigator& DWebBrowserEvents2Impl::_navigator
protected

Definition at line 822 of file webchild.h.


The documentation for this struct was generated from the following file: