How to find chromes client area and dimensions (excluding the omnibox drop down)

Viewed 183

Is it possible to find the dimensions of chromes client area excluding the omnibox drop down.

Im writing a chrome extension that listens to the omnibox-events and popping up a custom div, i would like the div to display at the bottom of the omnibox dropdown window.

Note : i know i can display suggestions, however that's not what i'm trying to achieve

Is this possible?

my alternatives are

set the divs top to some arbitrary pixel height to offset the dropdown (this seems fraught with issues)

set the divs bottom to 0px (not ascetically pleasing)

Any thoughts?

2 Answers
Related