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

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

Issue 8620008: Get rid of Widget::ConvertPointFromAncestor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
===================================================================
--- ui/views/widget/widget.h (revision 111096)
+++ ui/views/widget/widget.h (working copy)
@@ -550,13 +550,6 @@
focus_on_creation_ = focus_on_creation;
}
- // Converts the |point| in ancestor's coordinate to this widget's coordinates.
- // Returns false if |ancestor| is not an ancestor of this widget.
- // The receiver has to be pure views widget (NativeWidgetViews) and
- // ancestor can be of any type.
- bool ConvertPointFromAncestor(
- const Widget* ancestor, gfx::Point* point) const;
-
// Returns a View* that any child Widgets backed by NativeWidgetViews
// are added to. The default implementation returns the contents view
// if it exists and the root view otherwise.
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698