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

Side by Side Diff: ui/views/widget/native_widget_win.cc

Issue 23769011: Move a bunch of windows stuff from ui/base/win to ui/gfx/win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moar bustage. Created 7 years, 3 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 | « ui/views/widget/native_widget_win.h ('k') | ui/views/widget/tooltip_manager_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/widget/native_widget_win.h" 5 #include "ui/views/widget/native_widget_win.h"
6 6
7 #include <dwmapi.h> 7 #include <dwmapi.h>
8 #include <shellapi.h> 8 #include <shellapi.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/win/scoped_gdi_object.h" 14 #include "base/win/scoped_gdi_object.h"
15 #include "base/win/win_util.h" 15 #include "base/win/win_util.h"
16 #include "base/win/windows_version.h" 16 #include "base/win/windows_version.h"
17 #include "ui/base/dragdrop/drag_drop_types.h" 17 #include "ui/base/dragdrop/drag_drop_types.h"
18 #include "ui/base/dragdrop/drag_source_win.h" 18 #include "ui/base/dragdrop/drag_source_win.h"
19 #include "ui/base/dragdrop/os_exchange_data.h" 19 #include "ui/base/dragdrop/os_exchange_data.h"
20 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" 20 #include "ui/base/dragdrop/os_exchange_data_provider_win.h"
21 #include "ui/base/events/event.h" 21 #include "ui/base/events/event.h"
22 #include "ui/base/ime/input_method_factory.h" 22 #include "ui/base/ime/input_method_factory.h"
23 #include "ui/base/keycodes/keyboard_code_conversion_win.h" 23 #include "ui/base/keycodes/keyboard_code_conversion_win.h"
24 #include "ui/base/l10n/l10n_util_win.h" 24 #include "ui/base/l10n/l10n_util_win.h"
25 #include "ui/base/theme_provider.h" 25 #include "ui/base/theme_provider.h"
26 #include "ui/base/view_prop.h" 26 #include "ui/base/view_prop.h"
27 #include "ui/base/win/hwnd_util.h"
28 #include "ui/base/win/mouse_wheel_util.h" 27 #include "ui/base/win/mouse_wheel_util.h"
29 #include "ui/base/win/shell.h" 28 #include "ui/base/win/shell.h"
30 #include "ui/gfx/canvas.h" 29 #include "ui/gfx/canvas.h"
31 #include "ui/gfx/canvas_skia_paint.h" 30 #include "ui/gfx/canvas_skia_paint.h"
32 #include "ui/gfx/dpi_win.h"
33 #include "ui/gfx/path.h" 31 #include "ui/gfx/path.h"
34 #include "ui/gfx/point_conversions.h" 32 #include "ui/gfx/point_conversions.h"
35 #include "ui/gfx/screen.h" 33 #include "ui/gfx/screen.h"
36 #include "ui/gfx/size_conversions.h" 34 #include "ui/gfx/size_conversions.h"
35 #include "ui/gfx/win/dpi.h"
36 #include "ui/gfx/win/hwnd_util.h"
37 #include "ui/native_theme/native_theme.h" 37 #include "ui/native_theme/native_theme.h"
38 #include "ui/views/controls/native_control_win.h" 38 #include "ui/views/controls/native_control_win.h"
39 #include "ui/views/controls/textfield/textfield.h" 39 #include "ui/views/controls/textfield/textfield.h"
40 #include "ui/views/drag_utils.h" 40 #include "ui/views/drag_utils.h"
41 #include "ui/views/focus/accelerator_handler.h" 41 #include "ui/views/focus/accelerator_handler.h"
42 #include "ui/views/focus/view_storage.h" 42 #include "ui/views/focus/view_storage.h"
43 #include "ui/views/focus/widget_focus_manager.h" 43 #include "ui/views/focus/widget_focus_manager.h"
44 #include "ui/views/ime/input_method_bridge.h" 44 #include "ui/views/ime/input_method_bridge.h"
45 #include "ui/views/widget/aero_tooltip_manager.h" 45 #include "ui/views/widget/aero_tooltip_manager.h"
46 #include "ui/views/widget/drop_target_win.h" 46 #include "ui/views/widget/drop_target_win.h"
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 // static 1035 // static
1036 bool NativeWidgetPrivate::IsTouchDown() { 1036 bool NativeWidgetPrivate::IsTouchDown() {
1037 // This currently isn't necessary because we're not generating touch events on 1037 // This currently isn't necessary because we're not generating touch events on
1038 // windows. When we do, this will need to be updated. 1038 // windows. When we do, this will need to be updated.
1039 return false; 1039 return false;
1040 } 1040 }
1041 1041
1042 } // namespace internal 1042 } // namespace internal
1043 1043
1044 } // namespace views 1044 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_win.h ('k') | ui/views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698