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

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

Issue 300163002: Update window region after widget resizes not changing HWND size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 24cd8fda66d53212e1cfbabe45a1a21ee0c17c0b..5805e62b3f3c3eff37b9e7ec0138b55b8e174fa5 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -190,6 +190,11 @@ class VIEWS_EXPORT HWNDMessageHandler :
void SetWindowIcons(const gfx::ImageSkia& window_icon,
const gfx::ImageSkia& app_icon);
+ // Forces message handler to think a resize has happened. Useful when
+ // SetBounds() does not really change the size, but we want to force updates
+ // needed after a resize.
+ void ForceWindowResized();
+
void set_remove_standard_frame(bool remove_standard_frame) {
remove_standard_frame_ = remove_standard_frame;
}

Powered by Google App Engine
This is Rietveld 408576698