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

Unified Diff: ui/aura/client/activation_delegate.h

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: ui/aura/client/activation_delegate.h
===================================================================
--- ui/aura/client/activation_delegate.h (revision 170463)
+++ ui/aura/client/activation_delegate.h (working copy)
@@ -19,11 +19,8 @@
// to a window's activation state.
class AURA_EXPORT ActivationDelegate {
public:
- // Returns true if the window should be activated. |event| is either the mouse
- // event supplied if the activation is the result of a mouse, or the touch
- // event if the activation is the result of a touch, or NULL if activation is
- // attempted for another reason.
- virtual bool ShouldActivate(const ui::Event* event) = 0;
+ // Returns true if the window should be activated.
+ virtual bool ShouldActivate() const = 0;
// Sent when the window is activated.
virtual void OnActivated() = 0;

Powered by Google App Engine
This is Rietveld 408576698