chnage move hook and add details to doc
This commit is contained in:
		
					parent
					
						
							
								1b1735bca9
							
						
					
				
			
			
				commit
				
					
						f46fcd158a
					
				
			
		
					 3 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue