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

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

Issue 8497067: views: Remove the old views/window/ directory and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/view_unittest.cc ('k') | views/widget/widget.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/widget/native_widget_win.h" 5 #include "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>
(...skipping 14 matching lines...) Expand all
25 #include "ui/base/view_prop.h" 25 #include "ui/base/view_prop.h"
26 #include "ui/base/win/hwnd_util.h" 26 #include "ui/base/win/hwnd_util.h"
27 #include "ui/base/win/mouse_wheel_util.h" 27 #include "ui/base/win/mouse_wheel_util.h"
28 #include "ui/gfx/canvas_skia.h" 28 #include "ui/gfx/canvas_skia.h"
29 #include "ui/gfx/canvas_skia_paint.h" 29 #include "ui/gfx/canvas_skia_paint.h"
30 #include "ui/gfx/compositor/compositor.h" 30 #include "ui/gfx/compositor/compositor.h"
31 #include "ui/gfx/icon_util.h" 31 #include "ui/gfx/icon_util.h"
32 #include "ui/gfx/native_theme_win.h" 32 #include "ui/gfx/native_theme_win.h"
33 #include "ui/gfx/path.h" 33 #include "ui/gfx/path.h"
34 #include "ui/gfx/screen.h" 34 #include "ui/gfx/screen.h"
35 #include "ui/views/window/native_frame_view.h"
35 #include "views/accessibility/native_view_accessibility_win.h" 36 #include "views/accessibility/native_view_accessibility_win.h"
36 #include "views/controls/native_control_win.h" 37 #include "views/controls/native_control_win.h"
37 #include "views/controls/textfield/native_textfield_views.h" 38 #include "views/controls/textfield/native_textfield_views.h"
38 #include "views/focus/accelerator_handler.h" 39 #include "views/focus/accelerator_handler.h"
39 #include "views/focus/view_storage.h" 40 #include "views/focus/view_storage.h"
40 #include "views/ime/input_method_win.h" 41 #include "views/ime/input_method_win.h"
41 #include "views/views_delegate.h" 42 #include "views/views_delegate.h"
42 #include "views/widget/aero_tooltip_manager.h" 43 #include "views/widget/aero_tooltip_manager.h"
43 #include "views/widget/child_window_message_processor.h" 44 #include "views/widget/child_window_message_processor.h"
44 #include "views/widget/drop_target_win.h" 45 #include "views/widget/drop_target_win.h"
45 #include "views/widget/monitor_win.h" 46 #include "views/widget/monitor_win.h"
46 #include "views/widget/native_widget_delegate.h" 47 #include "views/widget/native_widget_delegate.h"
47 #include "views/widget/native_widget_views.h" 48 #include "views/widget/native_widget_views.h"
48 #include "views/widget/root_view.h" 49 #include "views/widget/root_view.h"
49 #include "views/widget/widget_delegate.h" 50 #include "views/widget/widget_delegate.h"
50 #include "views/window/native_frame_view.h"
51 51
52 #pragma comment(lib, "dwmapi.lib") 52 #pragma comment(lib, "dwmapi.lib")
53 53
54 using ui::ViewProp; 54 using ui::ViewProp;
55 55
56 namespace views { 56 namespace views {
57 57
58 namespace { 58 namespace {
59 59
60 // Get the source HWND of the specified message. Depending on the message, the 60 // Get the source HWND of the specified message. Depending on the message, the
(...skipping 2455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 return (GetKeyState(VK_LBUTTON) & 0x80) || 2516 return (GetKeyState(VK_LBUTTON) & 0x80) ||
2517 (GetKeyState(VK_RBUTTON) & 0x80) || 2517 (GetKeyState(VK_RBUTTON) & 0x80) ||
2518 (GetKeyState(VK_MBUTTON) & 0x80) || 2518 (GetKeyState(VK_MBUTTON) & 0x80) ||
2519 (GetKeyState(VK_XBUTTON1) & 0x80) || 2519 (GetKeyState(VK_XBUTTON1) & 0x80) ||
2520 (GetKeyState(VK_XBUTTON2) & 0x80); 2520 (GetKeyState(VK_XBUTTON2) & 0x80);
2521 } 2521 }
2522 2522
2523 } // namespace internal 2523 } // namespace internal
2524 2524
2525 } // namespace views 2525 } // namespace views
OLDNEW
« no previous file with comments | « views/view_unittest.cc ('k') | views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698