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

Unified Diff: ash/wm/switchable_windows.cc

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: feedback Created 3 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
« no previous file with comments | « ash/wm/panels/panel_layout_manager.cc ('k') | ash/wm/system_modal_container_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/switchable_windows.cc
diff --git a/ash/wm/switchable_windows.cc b/ash/wm/switchable_windows.cc
index 6e0920db74811c141fa21caec9a5656e6d9b69a8..a82e3dd672174a531c2338ef0c97205d6585c76a 100644
--- a/ash/wm/switchable_windows.cc
+++ b/ash/wm/switchable_windows.cc
@@ -6,6 +6,7 @@
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/wm_window.h"
+#include "ui/aura/window.h"
namespace ash {
namespace wm {
@@ -20,7 +21,7 @@ const size_t kSwitchableWindowContainerIdsLength =
bool IsSwitchableContainer(const WmWindow* window) {
if (!window)
return false;
- const int shell_window_id = window->GetShellWindowId();
+ const int shell_window_id = window->aura_window()->id();
for (size_t i = 0; i < kSwitchableWindowContainerIdsLength; ++i) {
if (shell_window_id == kSwitchableWindowContainerIds[i])
return true;
« no previous file with comments | « ash/wm/panels/panel_layout_manager.cc ('k') | ash/wm/system_modal_container_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698