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

Side by Side Diff: views/window/non_client_view.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | views/window/window_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « views/window/custom_frame_view.cc ('k') | views/window/window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698