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

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

Issue 484963002: Fix a long standing painting problem seen in the tabstrip on Windows Desktop Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added code to delay DWM until the window comes out of fullscreen Created 6 years, 4 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.h
diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h
index 4109599dc601d6147aa4aef692b4c881cd413caa..6e2898b706cd14a00cd9c10e7dbcc4deb7096ea3 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -203,6 +203,8 @@ class VIEWS_EXPORT HWNDMessageHandler :
use_system_default_icon_ = use_system_default_icon;
}
+ void SetFullscreen(bool fullscreen);
+
private:
typedef std::set<DWORD> TouchIDs;
@@ -483,6 +485,9 @@ class VIEWS_EXPORT HWNDMessageHandler :
int message_time,
LPARAM l_param);
+ // Provides functionality to transition a frame to and from DWM.
+ void PerformDwmTransition();
+
HWNDMessageHandlerDelegate* delegate_;
scoped_ptr<FullscreenHandler> fullscreen_handler_;
@@ -612,6 +617,10 @@ class VIEWS_EXPORT HWNDMessageHandler :
// HandleMouseEventInternal function as to why this is needed.
long last_mouse_hwheel_time_;
+ // Set to true if DWM transition is desired for this window. Defaults to
+ // false.
+ bool dwm_transition_desired_;
+
DISALLOW_COPY_AND_ASSIGN(HWNDMessageHandler);
};

Powered by Google App Engine
This is Rietveld 408576698