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

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

Issue 10409011: Aura/ash: On Desktops, use a aura::client to resolve screen coordinates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge with trunk. Created 8 years, 7 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
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c8ec63c53b732346e24e4974f5456d9915d19631..49111d085ee5c8915ca212fd37893696d69efd0a 100644
--- a/ui/views/widget/native_widget_helper_aura.h
+++ b/ui/views/widget/native_widget_helper_aura.h
@@ -18,8 +18,9 @@ class VIEWS_EXPORT NativeWidgetHelperAura {
virtual ~NativeWidgetHelperAura() {}
// Called at the start of InitNativeWidget; determines whether we should
- // set up a root_window_ for this widget.
- virtual void PreInitialize(const Widget::InitParams& params) = 0;
+ // set up a root_window_ for this widget/window pair.
+ virtual void PreInitialize(aura::Window* window,
+ const Widget::InitParams& params) = 0;
// Called at the end of InitNativeWidget; i.e. after the NativeWidgetAura's
// aura::Window has been initialized.
@@ -35,11 +36,6 @@ 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(const gfx::Rect& bounds) = 0;
-
- // Takes bounds relative to the RootWindow and changes them to be relative to
- // the screen.
- virtual gfx::Rect ChangeRootWindowBoundsToScreenBounds(
- const gfx::Rect& bounds) = 0;
};
} // namespace views
« no previous file with comments | « 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