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

Unified Diff: ui/oak/oak_aura_window_display.cc

Issue 115453004: Moves management of transients out of Window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded parens Created 6 years, 11 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/aura/window_unittest.cc ('k') | ui/views/corewm/base_focus_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51e83c49f1d6776ecc0b4b65d7e50d2a8a047ffe..41ee3d3606c6497fdd87de9e2977efffb8514ee2 100644
--- a/ui/oak/oak_aura_window_display.cc
+++ b/ui/oak/oak_aura_window_display.cc
@@ -11,6 +11,7 @@
#include "ui/aura/window.h"
#include "ui/base/models/table_model_observer.h"
#include "ui/oak/oak_pretty_print.h"
+#include "ui/views/corewm/window_util.h"
namespace oak {
namespace internal {
@@ -131,11 +132,12 @@ base::string16 OakAuraWindowDisplay::GetText(int row, int column_id) {
case ROW_ROOTWINDOW:
return PropertyWithVoidStar("Root Window: ", window_->GetRootWindow());
case ROW_TRANSIENTCHILDREN:
- return PropertyWithInteger("Transient Children: ",
- window_->transient_children().size());
+ return PropertyWithInteger(
+ "Transient Children: ",
+ views::corewm::GetTransientChildren(window_).size());
case ROW_TRANSIENTPARENT:
return PropertyWithVoidStar("Transient Parent: ",
- window_->transient_parent());
+ views::corewm::GetTransientParent(window_));
case ROW_USERDATA:
return PropertyWithVoidStar("User Data: ", window_->user_data());
case ROW_IGNOREEVENTS:
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/views/corewm/base_focus_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698