We classify integrable Hamiltonian equations of the form
u
t
=
∂
x
(
δ
H
δ
u
)
,
H
=
∫
h
(
u
,
w
)
d
x
d
y
,
where the Hamiltonian density
h
(
u
,
w
) is a function of two variables: dependent variable
u
and the non-locality
w
=
∂
x
−
1
∂
y
u
. Based on the method of hydrodynamic reductions, the integrability conditions are derived (in the form of an involutive PDE system for the Hamiltonian density
h
). We show that the generic integrable density is expressed in terms of the Weierstrass
σ
-function:
h
(
u
,
w
) =
σ
(
u
) e
w
. Dispersionless Lax pairs, commuting flows and dispersive deformations of the resulting equations are also discussed.