crosswalk-project/crosswalk — pull request #1310 by hmin (2013-12-12 09:55:19+00:00)
Title: Query the number of presentation displays when extension is created.

In some case, e.g. in cordova container, onResume method won't get
called at startup, it is called only when resuming from background
status.

This fix can make sure that presentation.displayavailable flag won't
depend on the fact if PresentationExtension::onResume gets executed.