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

Unified Diff: athena/wm/window_manager_impl.cc

Issue 416243004: Enable touch text selection on Athena (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Passed windows list to overview mode Created 6 years, 5 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: athena/wm/window_manager_impl.cc
diff --git a/athena/wm/window_manager_impl.cc b/athena/wm/window_manager_impl.cc
index d818416954c18b605a864f8c9779e3703c6f7fcb..cb4a0606dcf493ede1fc325988a900418cb4c2ae 100644
--- a/athena/wm/window_manager_impl.cc
+++ b/athena/wm/window_manager_impl.cc
@@ -122,8 +122,7 @@ void WindowManagerImpl::Layout() {
for (aura::Window::Windows::const_iterator iter = children.begin();
iter != children.end();
++iter) {
- if ((*iter)->type() == ui::wm::WINDOW_TYPE_NORMAL ||
- (*iter)->type() == ui::wm::WINDOW_TYPE_POPUP)
+ if ((*iter)->type() == ui::wm::WINDOW_TYPE_NORMAL)
(*iter)->SetBounds(bounds);
}
}
@@ -138,7 +137,8 @@ void WindowManagerImpl::SetInOverview(bool active) {
return;
if (active) {
- overview_ = WindowOverviewMode::Create(container_.get(), this);
+ overview_ = WindowOverviewMode::Create(container_.get(),
+ container_->children(), this);
FOR_EACH_OBSERVER(WindowManagerObserver, observers_,
OnOverviewModeEnter());
} else {

Powered by Google App Engine
This is Rietveld 408576698