Salad leaves will do fine; as will kitchen herbs (basil, mint, parsley, chives, rosemary, sage...). Tomatoes will grow in pots but you'd need a reasonable-sized pot. There's quite a lot of container gardening info available online - the only limitation is the size of your windowsills!
Could you put in a window box? Those are a bit bigger.