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

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

Issue 1903223005: Fix for 593676 - Minimizes/eliminates momentary flash of Windows frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit; formatting Created 4 years, 6 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') | no next file with comments »
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 bf25d11eb77e245539acacd836bcfca7fa3c792c..a04bfa780b2ec6531d255977adca018e61f4f88e 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -211,6 +211,7 @@ class VIEWS_EXPORT HWNDMessageHandler :
private:
typedef std::set<DWORD> TouchIDs;
+ enum class DwmFrameState { OFF, ON };
// Overridden from WindowImpl:
HICON GetDefaultWindowIcon() const override;
@@ -314,6 +315,10 @@ class VIEWS_EXPORT HWNDMessageHandler :
bool HasSystemFrame() const;
+ // Adds or removes the frame extension into client area with
+ // DwmExtendFrameIntoClientArea.
+ void SetDwmFrameExtension(DwmFrameState state);
+
// Message Handlers ----------------------------------------------------------
BEGIN_SAFE_MSG_MAP_EX(weak_factory_)
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698