only hyatt needs to see his debugging printfs.

git-svn-id: svn://10.0.0.236/trunk@56533 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-12-24 07:53:41 +00:00
parent dab9ebc065
commit 53d4c796ae
2 changed files with 8 additions and 0 deletions

View File

@@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent)
nsCOMPtr<nsIDOMNode> t;
aEvent->GetTarget(getter_AddRefs(t));
#ifdef DEBUG_hyatt
printf("%d : Focus occurred on: ", this);
nsCOMPtr<nsIDOMElement> 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<nsIDOMElement> domElement = do_QueryInterface(t);
if (domElement && (domElement != mCurrentElement)) {
@@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent)
nsCOMPtr<nsIDOMNode> t;
aEvent->GetTarget(getter_AddRefs(t));
#ifdef DEBUG_hyatt
printf("%d : Blur occurred on: ", this);
nsCOMPtr<nsIDOMElement> 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<nsIDOMElement> domElement = do_QueryInterface(t);
if (domElement) {

View File

@@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent)
nsCOMPtr<nsIDOMNode> t;
aEvent->GetTarget(getter_AddRefs(t));
#ifdef DEBUG_hyatt
printf("%d : Focus occurred on: ", this);
nsCOMPtr<nsIDOMElement> 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<nsIDOMElement> domElement = do_QueryInterface(t);
if (domElement && (domElement != mCurrentElement)) {
@@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent)
nsCOMPtr<nsIDOMNode> t;
aEvent->GetTarget(getter_AddRefs(t));
#ifdef DEBUG_hyatt
printf("%d : Blur occurred on: ", this);
nsCOMPtr<nsIDOMElement> 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<nsIDOMElement> domElement = do_QueryInterface(t);
if (domElement) {