Foreign ministers of Southeast Asia and China adopted on Sunday a negotiating framework for a code of conduct in the South China Sea.