Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: ui/views/widget/native_widget_helper_aura.h

Issue 10210005: Ash/aura split: NativeWidgetAura::GetWindowScreenBounds() should return screen bounds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/widget/native_widget_helper_aura.h
diff --git a/ui/views/widget/native_widget_helper_aura.h b/ui/views/widget/native_widget_helper_aura.h
index 4d73932724a691a91f05b2c59164380c090e2b84..09b90dab0851312cecfbb18de4679dbb035ecb0b 100644
--- a/ui/views/widget/native_widget_helper_aura.h
+++ b/ui/views/widget/native_widget_helper_aura.h
@@ -31,6 +31,10 @@ class VIEWS_EXPORT NativeWidgetHelperAura {
// |root_window_|, and returns modified bounds to set the origin to
// zero. Otherwise, pass through in_bounds.
virtual gfx::Rect ModifyAndSetBounds(gfx::Rect bounds) = 0;
+
+ // Takes bounds relative to the RootWindow and changes them to be relative to
+ // the screen.
+ virtual gfx::Rect ChangeRootWindowBoundsToScreenBounds(gfx::Rect bounds) = 0;
sky 2012/04/24 22:42:28 const gfx::Rect&
};
} // namespace views
« ui/views/widget/desktop_native_widget_helper_aura.h ('K') | « ui/views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698