From 53d4c796ae3d02e26e3c778bf17f785a5cc478e0 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 24 Dec 1999 07:53:41 +0000 Subject: [PATCH] only hyatt needs to see his debugging printfs. git-svn-id: svn://10.0.0.236/trunk@56533 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp | 4 ++++ mozilla/rdf/content/src/nsXULCommandDispatcher.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp index c6cacd50e2a..69ee9f94a1e 100644 --- a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp +++ b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp @@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Focus occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -347,6 +348,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement && (domElement != mCurrentElement)) { @@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Blur occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -400,6 +403,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement) { diff --git a/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp b/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp index c6cacd50e2a..69ee9f94a1e 100644 --- a/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp +++ b/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp @@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Focus occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -347,6 +348,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement && (domElement != mCurrentElement)) { @@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Blur occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -400,6 +403,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement) {