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

Unified Diff: ash/common/wm/mru_window_tracker.cc

Issue 2563343002: Remove extension_misc::IsImeMenuExtensionId. (Closed)
Patch Set: Remove kExcludeFromMruKey. Created 4 years 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/aura/wm_window_aura.cc ('k') | ash/common/wm/mru_window_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/mru_window_tracker.cc
diff --git a/ash/common/wm/mru_window_tracker.cc b/ash/common/wm/mru_window_tracker.cc
index f7a9dc3a900faeaaf473042767f90c2659aaec85..8378500272be869f49e1b6eaa1f5e6bf947d21cb 100644
--- a/ash/common/wm/mru_window_tracker.cc
+++ b/ash/common/wm/mru_window_tracker.cc
@@ -59,8 +59,7 @@ MruWindowTracker::WindowList BuildWindowListInternal(
// Removes unfocusable windows.
std::vector<WmWindow*>::iterator itr = windows.begin();
while (itr != windows.end()) {
- if (!should_include_window_predicate.Run(*itr) ||
- (*itr)->GetWindowState()->ShouldBeExcludedFromMru())
+ if (!should_include_window_predicate.Run(*itr))
itr = windows.erase(itr);
else
++itr;
« no previous file with comments | « ash/aura/wm_window_aura.cc ('k') | ash/common/wm/mru_window_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698