getLayoutBoxes - modify code and comments.
getLayoutBoxes - modify code and comments.

Review URL: http://codereview.appspot.com/4415043
liunian/compatibility-detector,liunian/compatibility-detector,liunian/compatibility-detector