Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsComboboxControlFrame.cpp File Reference
#include "nsCOMPtr.h"
#include "nsReadableUtils.h"
#include "nsComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsFrameManager.h"
#include "nsFormControlFrame.h"
#include "nsHTMLAtoms.h"
#include "nsCSSAnonBoxes.h"
#include "nsHTMLParts.h"
#include "nsIFormControl.h"
#include "nsINameSpaceManager.h"
#include "nsLayoutAtoms.h"
#include "nsIDOMElement.h"
#include "nsIListControlFrame.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMNSHTMLOptionCollectn.h"
#include "nsIPresShell.h"
#include "nsIDeviceContext.h"
#include "nsIView.h"
#include "nsIScrollableView.h"
#include "nsIEventStateManager.h"
#include "nsIEventListenerManager.h"
#include "nsIDOMNode.h"
#include "nsIPrivateDOMEvent.h"
#include "nsISupportsArray.h"
#include "nsISelectControlFrame.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsIComponentManager.h"
#include "nsITextContent.h"
#include "nsTextFragment.h"
#include "nsCSSFrameConstructor.h"
#include "nsIDocument.h"
#include "nsINodeInfo.h"
#include "nsIScrollableFrame.h"
#include "nsListControlFrame.h"
#include "nsContentCID.h"
#include "nsIServiceManager.h"
#include "nsGUIEvent.h"
#include "nsAutoPtr.h"
#include "nsStyleSet.h"
#include "nsNodeInfoManager.h"
#include "nsContentCreatorFunctions.h"

Go to the source code of this file.

Classes

class  RedisplayTextEvent
class  nsComboButtonListener
 Helper class that listens to the combo boxes button. More...

Defines

#define FIX_FOR_BUG_53259
#define REFLOW_COUNTER_REQUEST()
#define REFLOW_COUNTER()
#define REFLOW_COUNTER_DUMP(__desc)
#define REFLOW_COUNTER_INIT()
#define REFLOW_DEBUG_MSG(_msg)
#define REFLOW_DEBUG_MSG2(_msg1, _msg2)
#define REFLOW_DEBUG_MSG3(_msg1, _msg2, _msg3)
#define REFLOW_DEBUG_MSG4(_msg1, _msg2, _msg3, _msg4)
#define REFLOW_NOISY_MSG(_msg)
#define REFLOW_NOISY_MSG2(_msg1, _msg2)
#define REFLOW_NOISY_MSG3(_msg1, _msg2, _msg3)
#define REFLOW_NOISY_MSG4(_msg1, _msg2, _msg3, _msg4)
#define PX(__v)   __v
#define UNCONSTRAINED_CHECK()

Functions

static NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)
 HandleRedisplayTextPLEvent (PLEvent *aEvent)
 DestroyRedisplayTextPLEvent (PLEvent *aEvent)
nsresult NS_NewComboboxControlFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame, PRUint32 aStateFlags)

Variables

const PRInt32 kSizeNotSet = -1

Define Documentation

Definition at line 140 of file nsComboboxControlFrame.cpp.

#define PX (   __v)    __v

Definition at line 299 of file nsComboboxControlFrame.cpp.

Definition at line 266 of file nsComboboxControlFrame.cpp.

#define REFLOW_COUNTER_DUMP (   __desc)

Definition at line 267 of file nsComboboxControlFrame.cpp.

Definition at line 268 of file nsComboboxControlFrame.cpp.

Definition at line 265 of file nsComboboxControlFrame.cpp.

#define REFLOW_DEBUG_MSG (   _msg)

Definition at line 270 of file nsComboboxControlFrame.cpp.

#define REFLOW_DEBUG_MSG2 (   _msg1,
  _msg2 
)

Definition at line 271 of file nsComboboxControlFrame.cpp.

#define REFLOW_DEBUG_MSG3 (   _msg1,
  _msg2,
  _msg3 
)

Definition at line 272 of file nsComboboxControlFrame.cpp.

#define REFLOW_DEBUG_MSG4 (   _msg1,
  _msg2,
  _msg3,
  _msg4 
)

Definition at line 273 of file nsComboboxControlFrame.cpp.

#define REFLOW_NOISY_MSG (   _msg)

Definition at line 287 of file nsComboboxControlFrame.cpp.

#define REFLOW_NOISY_MSG2 (   _msg1,
  _msg2 
)

Definition at line 288 of file nsComboboxControlFrame.cpp.

#define REFLOW_NOISY_MSG3 (   _msg1,
  _msg2,
  _msg3 
)

Definition at line 289 of file nsComboboxControlFrame.cpp.

#define REFLOW_NOISY_MSG4 (   _msg1,
  _msg2,
  _msg3,
  _msg4 
)

Definition at line 290 of file nsComboboxControlFrame.cpp.

Definition at line 316 of file nsComboboxControlFrame.cpp.


Function Documentation

Definition at line 123 of file nsComboboxControlFrame.cpp.

{
  NS_ASSERTION(nsnull != aEvent, "Event is null");
  RedisplayTextEvent* event = NS_STATIC_CAST(RedisplayTextEvent*, aEvent);

  delete event;
}

Here is the caller graph for this function:

Definition at line 112 of file nsComboboxControlFrame.cpp.

{
  NS_ASSERTION(nsnull != aEvent, "Event is null");
  RedisplayTextEvent* event = NS_STATIC_CAST(RedisplayTextEvent*, aEvent);

  event->HandleEvent();

  return nsnull;
}

Here is the caller graph for this function:

nsresult NS_NewComboboxControlFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame,
PRUint32  aStateFlags 
)

Definition at line 199 of file nsComboboxControlFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsComboboxControlFrame* it = new (aPresShell) nsComboboxControlFrame;
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  // set the state flags (if any are provided)
  it->AddStateBits(aStateFlags);
  *aNewFrame = it;
  return NS_OK;
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 156 of file nsComboboxControlFrame.cpp.