chnage move hook and add details to doc

This commit is contained in:
Robo 2015-05-10 09:14:18 +05:30 committed by deepak1556
parent 1b1735bca9
commit f46fcd158a
3 changed files with 8 additions and 8 deletions

View file

@ -729,11 +729,6 @@ void NativeWindowViews::OnWidgetBoundsChanged(
NotifyWindowResize();
widget_size_ = bounds.size();
}
if (widget_pos_ != bounds.origin()) {
NotifyWindowMove();
widget_pos_ = bounds.origin();
}
}
void NativeWindowViews::DeleteDelegate() {
@ -823,6 +818,10 @@ views::NonClientFrameView* NativeWindowViews::CreateNonClientFrameView(
#endif
}
void NativeWindowViews::OnWidgetMove() {
NotifyWindowMove();
}
#if defined(OS_WIN)
bool NativeWindowViews::ExecuteWindowsCommand(int command_id) {
// Windows uses the 4 lower order bits of |command_id| for type-specific