summaryrefslogtreecommitdiffstats
path: root/athena/wm
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2014-09-12 18:11:07 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-13 01:17:42 +0000
commit9eea82dadf7749b42d09d8f423db99cab2a01a72 (patch)
treed16cf82ce19ebf30b9fc2b9ee8d74569454a4f18 /athena/wm
parentb4f6892dcee61f2831e2cfd49f4afd07120022e6 (diff)
downloadchromium_src-9eea82dadf7749b42d09d8f423db99cab2a01a72.zip
chromium_src-9eea82dadf7749b42d09d8f423db99cab2a01a72.tar.gz
chromium_src-9eea82dadf7749b42d09d8f423db99cab2a01a72.tar.bz2
Run athena on device
Added CHECKs in static methods in ash::Shell/RootWindowController to identify the chrome code accessing ash BUG=410444 TBR=sky@chromium.org TEST=tested on Pixel Review URL: https://codereview.chromium.org/549453005 Cr-Commit-Position: refs/heads/master@{#294717}
Diffstat (limited to 'athena/wm')
-rw-r--r--athena/wm/window_list_provider_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/athena/wm/window_list_provider_impl.cc b/athena/wm/window_list_provider_impl.cc
index 6c6580f..02c54ef 100644
--- a/athena/wm/window_list_provider_impl.cc
+++ b/athena/wm/window_list_provider_impl.cc
@@ -53,7 +53,9 @@ bool WindowListProviderImpl::IsWindowInList(aura::Window* window) const {
}
bool WindowListProviderImpl::IsValidWindow(aura::Window* window) const {
- return window->type() == ui::wm::WINDOW_TYPE_NORMAL;
+ // TODO(oshima): crbug.com/413912
+ return window->type() == ui::wm::WINDOW_TYPE_NORMAL ||
+ window->type() == ui::wm::WINDOW_TYPE_PANEL;
}
void WindowListProviderImpl::MoveToFront(aura::Window* window) {