| OLD | NEW | 
|---|
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "views/window/non_client_view.h" | 5 #include "views/window/non_client_view.h" | 
| 6 | 6 | 
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) | 
| 8 #include "chrome/common/win_util.h" | 8 #include "app/win_util.h" | 
| 9 #endif | 9 #endif | 
| 10 #include "views/widget/root_view.h" | 10 #include "views/widget/root_view.h" | 
| 11 #include "views/widget/widget.h" | 11 #include "views/widget/widget.h" | 
| 12 #if defined(OS_LINUX) | 12 #if defined(OS_LINUX) | 
| 13 #include "views/window/hit_test.h" | 13 #include "views/window/hit_test.h" | 
| 14 #endif | 14 #endif | 
| 15 #include "views/window/window.h" | 15 #include "views/window/window.h" | 
| 16 | 16 | 
| 17 namespace views { | 17 namespace views { | 
| 18 | 18 | 
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 255   } else { | 255   } else { | 
| 256     return HTNOWHERE; | 256     return HTNOWHERE; | 
| 257   } | 257   } | 
| 258 | 258 | 
| 259   // If the window can't be resized, there are no resize boundaries, just | 259   // If the window can't be resized, there are no resize boundaries, just | 
| 260   // window borders. | 260   // window borders. | 
| 261   return can_resize ? component : HTBORDER; | 261   return can_resize ? component : HTBORDER; | 
| 262 } | 262 } | 
| 263 | 263 | 
| 264 }  // namespace views | 264 }  // namespace views | 
| OLD | NEW | 
|---|