Back to index

lightning-sunbird  0.9+nobinonly
EmbeddedFrame.cpp File Reference
#include <Controls.h>
#include <Events.h>
#include "EmbeddedFrame.h"
#include "EmbeddedFramePluginInstance.h"
#include "MRJPlugin.h"
#include "MRJSession.h"
#include "nsIPluginInstancePeer.h"
#include "nsIOutputStream.h"
#include "JSEvaluator.h"
#include "LocalPort.h"
#include "StringUtils.h"

Go to the source code of this file.


static void UnsetPort (GrafPtr port)
 if (mWindow!=NULL)
static void computeBounds (WindowRef window, Rect *bounds)

Function Documentation

static void computeBounds ( WindowRef  window,
Rect *  bounds 
) [static]

Definition at line 238 of file EmbeddedFrame.cpp.

       LocalPort port(window);
              Point position = { 0, 0 };
              *bounds = window->portRect;
       ::OffsetRect(bounds, position.h, position.v);

Here is the call graph for this function:

Here is the caller graph for this function:

if ( mWindow!  = NULL)

Definition at line 155 of file EmbeddedFrame.cpp.

              Point zeroPt = { 0, 0 };
              ::JMSetFrameVisibility(mFrameRef, mWindow, zeroPt, NULL);
static void UnsetPort ( GrafPtr  port) [static]

Definition at line 325 of file EmbeddedFrame.cpp.

       GrafPtr curPort;
       if (curPort == port) {

Here is the caller graph for this function: