Status: Available
Owner: ----
Labels: Type-Cleanup Pri-3 OS-All Area-BrowserUI HelpWanted

New issue 5133 by [EMAIL PROTECTED]: Add a "BoundsInWidget" method to View
http://code.google.com/p/chromium/issues/detail?id=5133

Add a method called "BoundsInWidget" to View:

gfx::Rect BoundsInWidget() const {
   gfx::Rect bounds_in_widget = bounds_;
   gfx::Point origin;
   ConvertPointToWidget(this, &origin);
   bounds_in_widget.set_origin(origin);
   return bounds_in_widget;
}

...

and then convert the callers of "ConvertPointToWidget" to use this instead,
since it's a common pattern.

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to