Lena, you're not wrong, but it's still the same thing: кто is the subject of its sentence, and кого, кому are accusative and dative objects respectively. You would still say что ты видел?, and that's "what did you see?", as что in this sentence is in accusative case and ты is the subject.