зеркало из https://github.com/mozilla/gecko-dev.git
68396 removing unused ifdefs and includes from project for nsGfxTExtControlFrame2 sr=kin r= kin
This commit is contained in:
Родитель
e9c87145da
Коммит
72784fe41e
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче