add cef switch window api