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

Unified Diff: ash/test/test_activation_delegate.h

Issue 11434062: Revert 170550 - Revert 170477 - Removes the |event| parameter from ActivationDelegate::ShouldActiva… (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 | « no previous file | ash/test/test_activation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_activation_delegate.h
===================================================================
--- ash/test/test_activation_delegate.h (revision 170570)
+++ ash/test/test_activation_delegate.h (working copy)
@@ -37,7 +37,7 @@
}
// Overridden from client::ActivationDelegate:
- virtual bool ShouldActivate(const ui::Event* event) OVERRIDE;
+ virtual bool ShouldActivate() const OVERRIDE;
virtual void OnActivated() OVERRIDE;
virtual void OnLostActive() OVERRIDE;
@@ -47,7 +47,7 @@
bool activate_;
int activated_count_;
int lost_active_count_;
- int should_activate_count_;
+ mutable int should_activate_count_;
DISALLOW_COPY_AND_ASSIGN(TestActivationDelegate);
};
« no previous file with comments | « no previous file | ash/test/test_activation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698