68396 removing unused ifdefs and includes from project for nsGfxTExtControlFrame2 sr=kin r= kin

This commit is contained in:
mjudge%netscape.com 2001-04-12 23:39:19 +00:00
Родитель e9c87145da
Коммит 72784fe41e
2 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

@ -51,7 +51,6 @@
#include "nsIDeviceContext.h"
#include "nsIScriptGlobalObject.h"
#include "nsIPrivateDOMEvent.h"
#include "nsIGfxTextControlFrame.h"
#include "nsIDOMWindowInternal.h"
#include "nsPIDOMWindow.h"
#include "nsIEnumerator.h"
@ -87,6 +86,7 @@
#include "nsXULAtoms.h"
#include "nsIDOMHTMLFormElement.h"
static NS_DEFINE_CID(kFrameTraversalCID, NS_FRAMETRAVERSAL_CID);
@ -3280,13 +3280,7 @@ nsEventStateManager::SendFocusBlur(nsIPresContext* aPresContext, nsIContent *aCo
// Find the window that this frame is in and
// make sure it has focus
// GFX Text Control frames handle their own focus
// and must be special-cased.
nsCOMPtr<nsIGfxTextControlFrame> gfxFrame = do_QueryInterface(currentFocusFrame);
if (gfxFrame) {
gfxFrame->SetInnerFocus();
}
else if (currentFocusFrame) {
if (currentFocusFrame) {
nsIFrame * parentFrame;
currentFocusFrame->GetParentWithView(aPresContext, &parentFrame);
if (nsnull != parentFrame) {

Просмотреть файл

@ -67,11 +67,7 @@
static NS_DEFINE_CID(kXULControllersCID, NS_XULCONTROLLERS_CID);
#ifdef ENDER_LITE
typedef nsIGfxTextControlFrame2 textControlPlace;
#else
typedef nsIGfxTextControlFrame textControlPlace;
#endif
class nsHTMLInputElement : public nsGenericHTMLLeafFormElement,
public nsIDOMHTMLInputElement,