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

Unified Diff: ui/oak/oak_aura_window_display.cc

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/oak/oak_aura_window_display.cc
diff --git a/ui/oak/oak_aura_window_display.cc b/ui/oak/oak_aura_window_display.cc
index a6e0fbe0cd80a068ea3603abb1eea38ba6edbc50..68130091b7e656d172a0501bbedfa935fc2eebf9 100644
--- a/ui/oak/oak_aura_window_display.cc
+++ b/ui/oak/oak_aura_window_display.cc
@@ -25,7 +25,7 @@ ROW_TRANSPARENT,
ROW_LAYER,
ROW_VISIBLE,
ROW_BOUNDS,
-ROW_SCREENBOUNDS,
+ROW_BOUNDSINROOTWINDOW,
ROW_TRANSFORM,
ROW_PARENT,
ROW_ROOTWINDOW,
@@ -121,8 +121,9 @@ string16 OakAuraWindowDisplay::GetText(int row, int column_id) {
return PropertyWithBool("Visible: ", window_->IsVisible());
case ROW_BOUNDS:
return PropertyWithBounds("Bounds: ", window_->bounds());
- case ROW_SCREENBOUNDS:
- return PropertyWithBounds("Screen Bounds: ", window_->GetScreenBounds());
+ case ROW_BOUNDSINROOTWINDOW:
+ return PropertyWithBounds("Bounds in Root Window: ",
+ window_->GetBoundsInRootWindow());
case ROW_TRANSFORM:
return ASCIIToUTF16("Transform:");
case ROW_PARENT:

Powered by Google App Engine
This is Rietveld 408576698