Index: ui/views/win/hwnd_message_handler.h |
diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h |
index 4b7ab4179a0d2ff5e937d9ff4508ace27043c652..3f7b75278ac6fa40a18f8b03517767e59068c8a3 100644 |
--- a/ui/views/win/hwnd_message_handler.h |
+++ b/ui/views/win/hwnd_message_handler.h |
@@ -255,7 +255,10 @@ class VIEWS_EXPORT HWNDMessageHandler : |
// Called after the WM_ACTIVATE message has been processed by the default |
// windows procedure. |
- void PostProcessActivateMessage(int activation_state, bool minimized); |
+ void PostProcessActivateMessage( |
+ int activation_state, |
+ bool minimized, |
+ HWND window_gaining_or_losing_activation); |
// Enables disabled owner windows that may have been disabled due to this |
// window's modality. |
@@ -502,6 +505,11 @@ class VIEWS_EXPORT HWNDMessageHandler : |
WPARAM w_param, |
LPARAM l_param); |
+ // Helper function for setting the bounds of the HWND. For more information |
+ // please refer to the SetBounds() function. |
+ void SetBoundsInternal(const gfx::Rect& bounds_in_pixels, |
+ bool force_size_changed); |
+ |
HWNDMessageHandlerDelegate* delegate_; |
scoped_ptr<FullscreenHandler> fullscreen_handler_; |
@@ -632,6 +640,10 @@ class VIEWS_EXPORT HWNDMessageHandler : |
// Defaults to false. |
bool left_button_down_on_caption_; |
+ // Set to true if the window is a background fullscreen window, i.e a |
+ // fullscreen window which lost activation. Defaults to false. |
+ bool background_fullscreen_hack_; |
+ |
// The WeakPtrFactories below must occur last in the class definition so they |
// get destroyed last. |