LMMS
Loading...
Searching...
No Matches
juce::Win32WebView::EventHandler Struct Reference
Inheritance diagram for juce::Win32WebView::EventHandler:
juce::ComBaseClassHelper< IDispatch > juce::ComponentMovementWatcher juce::ComBaseClassHelperBase< ComClasses... > juce::ComponentListener

Public Member Functions

 EventHandler (WebBrowserComponent &w)
JUCE_COMRESULT GetTypeInfoCount (UINT *) override
JUCE_COMRESULT GetTypeInfo (UINT, LCID, ITypeInfo **) override
JUCE_COMRESULT GetIDsOfNames (REFIID, LPOLESTR *, UINT, LCID, DISPID *) override
JUCE_COMRESULT Invoke (DISPID dispIdMember, REFIID, LCID, WORD, DISPPARAMS *pDispParams, VARIANT *, EXCEPINFO *, UINT *) override
void componentMovedOrResized (bool, bool) override
void componentPeerChanged () override
void componentVisibilityChanged () override
void componentVisibilityChanged (Component &) override
void componentMovedOrResized (Component &, bool wasMoved, bool wasResized) override
Public Member Functions inherited from juce::ComBaseClassHelper< IDispatch >
 ComBaseClassHelper (unsigned int initialRefCount=1)
JUCE_COMRESULT QueryInterface (REFIID refId, void **result)
Public Member Functions inherited from juce::ComBaseClassHelperBase< ComClasses... >
 ComBaseClassHelperBase (unsigned int initialRefCount)
virtual ~ComBaseClassHelperBase ()=default
ULONG STDMETHODCALLTYPE AddRef ()
ULONG STDMETHODCALLTYPE Release ()
Public Member Functions inherited from juce::ComponentMovementWatcher
 ComponentMovementWatcher (Component *componentToWatch)
 ~ComponentMovementWatcher () override
ComponentgetComponent () const noexcept
void componentParentHierarchyChanged (Component &) override
void componentBeingDeleted (Component &) override
Public Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()=default
virtual void componentBroughtToFront (Component &component)
virtual void componentChildrenChanged (Component &component)
virtual void componentNameChanged (Component &component)
virtual void componentEnablementChanged (Component &component)

Static Private Member Functions

static String getStringFromVariant (VARIANT *v)

Private Attributes

WebBrowserComponent & owner

Additional Inherited Members

Protected Member Functions inherited from juce::ComBaseClassHelperBase< ComClasses... >
JUCE_COMRESULT QueryInterface (REFIID refId, void **result)
JUCE_COMRESULT castToType (void **result)
Protected Attributes inherited from juce::ComBaseClassHelperBase< ComClasses... >
ULONG refCount

Constructor & Destructor Documentation

◆ EventHandler()

juce::Win32WebView::EventHandler::EventHandler ( WebBrowserComponent & w)
inline

Member Function Documentation

◆ componentMovedOrResized() [1/2]

void juce::Win32WebView::EventHandler::componentMovedOrResized ( bool wasMoved,
bool wasResized )
inlineoverridevirtual

This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.

Implements juce::ComponentMovementWatcher.

◆ componentMovedOrResized() [2/2]

void juce::ComponentMovementWatcher::componentMovedOrResized ( Component & component,
bool wasMoved,
bool wasResized )
overridevirtual

Called when the component's position or size changes.

Parameters
componentthe component that was moved or resized
wasMovedtrue if the component's top-left corner has just moved
wasResizedtrue if the component's width or height has just changed
See also
Component::setBounds, Component::resized, Component::moved

Reimplemented from juce::ComponentMovementWatcher.

◆ componentPeerChanged()

void juce::Win32WebView::EventHandler::componentPeerChanged ( )
inlineoverridevirtual

This callback happens when the component's top-level peer is changed.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [1/2]

void juce::Win32WebView::EventHandler::componentVisibilityChanged ( )
inlineoverridevirtual

This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [2/2]

void juce::ComponentMovementWatcher::componentVisibilityChanged ( Component & component)
overridevirtual

Called when the component is made visible or invisible.

Parameters
componentthe component that changed
See also
Component::setVisible

Reimplemented from juce::ComponentMovementWatcher.

◆ GetIDsOfNames()

JUCE_COMRESULT juce::Win32WebView::EventHandler::GetIDsOfNames ( REFIID ,
LPOLESTR * ,
UINT ,
LCID ,
DISPID *  )
inlineoverride

◆ getStringFromVariant()

String juce::Win32WebView::EventHandler::getStringFromVariant ( VARIANT * v)
inlinestaticprivate

◆ GetTypeInfo()

JUCE_COMRESULT juce::Win32WebView::EventHandler::GetTypeInfo ( UINT ,
LCID ,
ITypeInfo **  )
inlineoverride

◆ GetTypeInfoCount()

JUCE_COMRESULT juce::Win32WebView::EventHandler::GetTypeInfoCount ( UINT * )
inlineoverride

◆ Invoke()

JUCE_COMRESULT juce::Win32WebView::EventHandler::Invoke ( DISPID dispIdMember,
REFIID ,
LCID ,
WORD ,
DISPPARAMS * pDispParams,
VARIANT * ,
EXCEPINFO * ,
UINT *  )
inlineoverride

Member Data Documentation

◆ owner

WebBrowserComponent& juce::Win32WebView::EventHandler::owner
private

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