diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 23:04:59 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 23:04:59 +0000 |
commit | 1bb866e3187c423f730f3223c06fc4b1b65225c7 (patch) | |
tree | 1e35202520aae07c49ff33277584dbe85a3e7103 /views/widget/widget.h | |
parent | 7a2ee20798c9b0b2862db37718571891f40e5fe3 (diff) | |
download | chromium_src-1bb866e3187c423f730f3223c06fc4b1b65225c7.zip chromium_src-1bb866e3187c423f730f3223c06fc4b1b65225c7.tar.gz chromium_src-1bb866e3187c423f730f3223c06fc4b1b65225c7.tar.bz2 |
Gets AutomationProxyVisibleTest.WindowGetViewBounds to pass on
views/gtk.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/338067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index 05e475b..7b08737 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -63,6 +63,11 @@ class Widget { EventsParam accept_events, DeleteParam delete_on_destroy); + // Returns the root view for |native_window|. If |native_window| does not have + // a rootview, this recurses through all of |native_window|'s children until + // one is found. If a root view isn't found, null is returned. + static RootView* FindRootView(gfx::NativeWindow native_window); + // Initialize the Widget with a parent and an initial desired size. // |contents_view| is the view that will be the single child of RootView // within this Widget. As contents_view is inserted into RootView's tree, |