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

Unified Diff: ash/wm/activation_controller.cc

Issue 11419251: Removes the |event| parameter from ActivationDelegate::ShouldActivate and makes the method const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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: ash/wm/activation_controller.cc
===================================================================
--- ash/wm/activation_controller.cc (revision 170463)
+++ ash/wm/activation_controller.cc (working copy)
@@ -111,7 +111,7 @@
return window &&
VisibilityMatches(window, visibility_type) &&
(!aura::client::GetActivationDelegate(window) ||
- aura::client::GetActivationDelegate(window)->ShouldActivate(event)) &&
+ aura::client::GetActivationDelegate(window)->ShouldActivate()) &&
SupportsChildActivation(window->parent()) &&
(BelongsToContainerWithEqualOrGreaterId(
window, kShellWindowId_SystemModalContainer) ||
« no previous file with comments | « ash/test/test_activation_delegate.cc ('k') | chrome/browser/ui/ash/launcher/browser_launcher_item_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698