FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::PluginCore::SetWindow ( PluginWindow win)
virtual

Called by the browser to set the window. The default implementation fires the WindowAttached event in response to this.

Parameters
winThe new window

Definition at line 150 of file PluginCore.cpp.

References FB::PluginEventSource::AttachObserver().

151 {
152  FBLOG_TRACE("PluginCore", "Window Set");
153  if (m_Window && m_Window != win) {
154  ClearWindow();
155  }
156  m_Window = win;
157  win->AttachObserver(this);
158 }
virtual void AttachObserver(PluginEventSink *sink)
Attach a PluginEventSink to receive events.
virtual void ClearWindow()
Called by the browser to indicate that the window is no longer valid. The default implementation fire...
Definition: PluginCore.cpp:160

Here is the call graph for this function: