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

Side by Side Diff: chrome/views/view_win.cc

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (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 | « chrome/views/view_unittest.cc ('k') | chrome/views/widget/root_view.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/views/view.h" 5 #include "chrome/views/view.h"
6 6
7 #include "app/drag_drop_types.h"
7 #include "app/gfx/chrome_canvas.h" 8 #include "app/gfx/chrome_canvas.h"
9 #include "app/gfx/path.h"
10 #include "app/os_exchange_data.h"
8 #include "base/scoped_handle.h" 11 #include "base/scoped_handle.h"
9 #include "base/string_util.h" 12 #include "base/string_util.h"
10 #include "chrome/common/drag_drop_types.h"
11 #include "chrome/common/gfx/path.h"
12 #include "chrome/common/os_exchange_data.h"
13 #include "chrome/views/accessibility/view_accessibility_wrapper.h" 13 #include "chrome/views/accessibility/view_accessibility_wrapper.h"
14 #include "chrome/views/border.h" 14 #include "chrome/views/border.h"
15 #include "chrome/views/widget/root_view.h" 15 #include "chrome/views/widget/root_view.h"
16 #include "chrome/views/widget/widget.h" 16 #include "chrome/views/widget/widget.h"
17 17
18 namespace views { 18 namespace views {
19 19
20 FocusManager* View::GetFocusManager() { 20 FocusManager* View::GetFocusManager() {
21 Widget* widget = GetWidget(); 21 Widget* widget = GetWidget();
22 if (!widget) 22 if (!widget)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 87
88 int View::GetVerticalDragThreshold() { 88 int View::GetVerticalDragThreshold() {
89 static int threshold = -1; 89 static int threshold = -1;
90 if (threshold == -1) 90 if (threshold == -1)
91 threshold = GetSystemMetrics(SM_CYDRAG) / 2; 91 threshold = GetSystemMetrics(SM_CYDRAG) / 2;
92 return threshold; 92 return threshold;
93 } 93 }
94 94
95 } // namespace views 95 } // namespace views
OLDNEW
« no previous file with comments | « chrome/views/view_unittest.cc ('k') | chrome/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698