Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4513 if (!mFullScreen && mDocument) {
- 4514 printf("\nfullscreen false\n");
- 4515 // Notify the document that we've left full-screen mode. This is so that
- 4516 // if we're in full-screen mode and the user exits full-screen mode with
- 4517 // the browser full-screen mode toggle keyboard-shortcut, we detect that
- 4518 // and leave DOM API full-screen mode too.
- 4519 mDocument->MozCancelFullScreen();
- 4520
- 4521 printf("\nUnlocking the mouse\n");
- 4522 nsCOMPtr<nsIDOMNavigator> gNavigator;
- 4523 GetNavigator(getter_AddRefs(gNavigator));
- 4524 NS_ENSURE_ARG_POINTER(gNavigator);
- 4525
- 4526 nsCOMPtr<nsIDOMMouseLockable> gPointer;
- 4527 gNavigator->GetPointer(getter_AddRefs(gPointer));
- 4528 NS_ENSURE_ARG_POINTER(gPointer);
- 4529 if (gPointer) {
- 4530 printf("\npointer exists, now unlocking the mouse\n");
- 4531 gPointer->Unlock();
- 4532 }
- 4533 }
Advertisement
Add Comment
Please, Sign In to add comment