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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 1707233002: Reduce the fullscreen window height by 1px on activation loss. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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/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.
« ui/views/win/hwnd_message_handler.cc ('K') | « ui/views/win/hwnd_message_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698