RATIONALE: Sorafenib tosylate may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth and by blocking blood flow to the tumor. Drugs used in chemotherapy, such as gemcitabine hydrochloride and oxaliplatin, work in different ways to stop the growth of tumor cells, either by killing the cells or by stopping them from dividing. It is not yet known whether sorafenib tosylate is more effective when given with or without gemcitabine hydrochloride and oxaliplatin in treating patients with liver cancer.