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

Unified Diff: ui/aura/window.cc

Issue 9959119: Revert 130442 - Adds a TabContentsViewAura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 | « content/public/browser/web_contents_view_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
===================================================================
--- ui/aura/window.cc (revision 130454)
+++ ui/aura/window.cc (working copy)
@@ -187,11 +187,6 @@
}
gfx::Rect Window::GetScreenBounds() const {
- // TODO(beng): There may be a better way to handle this, and the existing code
- // is likely wrong anyway in a multi-monitor world, but this will
- // do for now.
- if (!GetRootWindow())
- return bounds();
gfx::Point origin = bounds().origin();
Window::ConvertPointToWindow(parent_, GetRootWindow(), &origin);
return gfx::Rect(origin, bounds().size());
« no previous file with comments | « content/public/browser/web_contents_view_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698