Index: ui/views/win/hwnd_message_handler_delegate.h |
diff --git a/ui/views/win/hwnd_message_handler_delegate.h b/ui/views/win/hwnd_message_handler_delegate.h |
index 55ac4407197e71ba103f30f885150975acc33c45..d15809abc2b94aaf0e9b3a583acb8d9bb1dda646 100644 |
--- a/ui/views/win/hwnd_message_handler_delegate.h |
+++ b/ui/views/win/hwnd_message_handler_delegate.h |
@@ -94,8 +94,11 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate { |
virtual void HandleAppDeactivated() = 0; |
// Called when the window was activated or deactivated. |active| reflects the |
- // new state. |
- virtual void HandleActivationChanged(bool active) = 0; |
+ // new state. |window_gaining_or_losing_activation| is the window gaining or |
+ // losing activation. |
+ virtual void HandleActivationChanged( |
+ bool active, |
+ HWND window_gaining_or_losing_activation) = 0; |
// Called when a well known "app command" from the system was performed. |
// Returns true if the command was handled. |