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

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

Issue 140453002: Repaint windows on screen unlock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | ui/views/win/hwnd_message_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdd048509fce901466246313a2706ccee46e996b..3aadeb10bae2a36501e4271ce180a13f2d5a325b 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -283,6 +283,10 @@ class VIEWS_EXPORT HWNDMessageHandler :
// layered windows only.
void RedrawLayeredWindowContents();
+ // Attempts to force the window to be redrawn, ensuring that it gets
+ // onscreen.
+ void ForceRedrawWindow(int attempts);
+
// Message Handlers ----------------------------------------------------------
BEGIN_SAFE_MSG_MAP_EX(HWNDMessageHandler)
@@ -371,6 +375,7 @@ class VIEWS_EXPORT HWNDMessageHandler :
MSG_WM_THEMECHANGED(OnThemeChanged)
MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged)
MSG_WM_WINDOWPOSCHANGING(OnWindowPosChanging)
+ MSG_WM_WTSSESSION_CHANGE(OnSessionChange)
END_MSG_MAP()
// Message Handlers.
@@ -426,6 +431,7 @@ class VIEWS_EXPORT HWNDMessageHandler :
LRESULT OnTouchEvent(UINT message, WPARAM w_param, LPARAM l_param);
void OnWindowPosChanging(WINDOWPOS* window_pos);
void OnWindowPosChanged(WINDOWPOS* window_pos);
+ void OnSessionChange(WPARAM status_code, PWTSSESSION_NOTIFICATION session_id);
sky 2014/01/16 16:36:37 Keep alphabetical (see comment on 382).
typedef std::vector<ui::TouchEvent> TouchEvents;
// Helper to handle the list of touch events passed in. We need this because
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | ui/views/win/hwnd_message_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698