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

Unified Diff: ui/views/controls/native/native_view_host_win.cc

Issue 24299004: Implement features in NativeViewHostAura for scroll end effect (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Responded to sky's comments and added some testing Created 7 years, 3 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/controls/native/native_view_host_win.cc
diff --git a/ui/views/controls/native/native_view_host_win.cc b/ui/views/controls/native/native_view_host_win.cc
index e7b74c3c7a1671709d7e26dede7d58db05cfec53..20f71c27327f07b6339756079697316cc3ee8471 100644
--- a/ui/views/controls/native/native_view_host_win.cc
+++ b/ui/views/controls/native/native_view_host_win.cc
@@ -98,6 +98,7 @@ void NativeViewHostWin::ShowWidget(int x, int y, int w, int h) {
swp_flags = (swp_flags | SWP_SHOWWINDOW) & ~SWP_NOREDRAW;
if (host_->fast_resize()) {
+ // TODO: Implement support for gravity.
sky 2013/09/26 22:10:54 Nuke this. This class should be dead once aura is
rharrison 2013/09/30 20:48:45 Done.
// In a fast resize, we move the window and clip it with SetWindowRgn.
RECT win_rect;
GetWindowRect(host_->native_view(), &win_rect);

Powered by Google App Engine
This is Rietveld 408576698