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

Unified Diff: ui/views/widget/desktop_aura/desktop_activation_client.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
« no previous file with comments | « ui/aura/client/activation_delegate.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_activation_client.cc
===================================================================
--- ui/views/widget/desktop_aura/desktop_activation_client.cc (revision 170463)
+++ ui/views/widget/desktop_aura/desktop_activation_client.cc (working copy)
@@ -143,7 +143,7 @@
return window &&
window->IsVisible() &&
(!aura::client::GetActivationDelegate(window) ||
- aura::client::GetActivationDelegate(window)->ShouldActivate(NULL));
+ aura::client::GetActivationDelegate(window)->ShouldActivate());
}
ui::EventResult DesktopActivationClient::OnKeyEvent(ui::KeyEvent* event) {
« no previous file with comments | « ui/aura/client/activation_delegate.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698