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

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

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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_gtk.cc ('k') | ui/views/widget/tooltip_manager.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 "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>
(...skipping 20 matching lines...) Expand all
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/accessibility/native_view_accessibility_win.h" 35 #include "ui/views/accessibility/native_view_accessibility_win.h"
36 #include "ui/views/controls/native_control_win.h" 36 #include "ui/views/controls/native_control_win.h"
37 #include "ui/views/controls/textfield/native_textfield_views.h" 37 #include "ui/views/controls/textfield/native_textfield_views.h"
38 #include "ui/views/focus/accelerator_handler.h" 38 #include "ui/views/focus/accelerator_handler.h"
39 #include "ui/views/focus/view_storage.h" 39 #include "ui/views/focus/view_storage.h"
40 #include "ui/views/ime/input_method_win.h" 40 #include "ui/views/ime/input_method_win.h"
41 #include "ui/views/views_delegate.h"
41 #include "ui/views/widget/aero_tooltip_manager.h" 42 #include "ui/views/widget/aero_tooltip_manager.h"
42 #include "ui/views/widget/child_window_message_processor.h" 43 #include "ui/views/widget/child_window_message_processor.h"
43 #include "ui/views/widget/drop_target_win.h" 44 #include "ui/views/widget/drop_target_win.h"
44 #include "ui/views/widget/monitor_win.h" 45 #include "ui/views/widget/monitor_win.h"
45 #include "ui/views/widget/native_widget_delegate.h" 46 #include "ui/views/widget/native_widget_delegate.h"
46 #include "ui/views/widget/root_view.h" 47 #include "ui/views/widget/root_view.h"
47 #include "ui/views/widget/widget_delegate.h" 48 #include "ui/views/widget/widget_delegate.h"
48 #include "ui/views/window/native_frame_view.h" 49 #include "ui/views/window/native_frame_view.h"
49 #include "views/views_delegate.h"
50 50
51 #pragma comment(lib, "dwmapi.lib") 51 #pragma comment(lib, "dwmapi.lib")
52 52
53 using ui::ViewProp; 53 using ui::ViewProp;
54 54
55 namespace views { 55 namespace views {
56 56
57 namespace { 57 namespace {
58 58
59 // Get the source HWND of the specified message. Depending on the message, the 59 // Get the source HWND of the specified message. Depending on the message, the
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after
2497 return (GetKeyState(VK_LBUTTON) & 0x80) || 2497 return (GetKeyState(VK_LBUTTON) & 0x80) ||
2498 (GetKeyState(VK_RBUTTON) & 0x80) || 2498 (GetKeyState(VK_RBUTTON) & 0x80) ||
2499 (GetKeyState(VK_MBUTTON) & 0x80) || 2499 (GetKeyState(VK_MBUTTON) & 0x80) ||
2500 (GetKeyState(VK_XBUTTON1) & 0x80) || 2500 (GetKeyState(VK_XBUTTON1) & 0x80) ||
2501 (GetKeyState(VK_XBUTTON2) & 0x80); 2501 (GetKeyState(VK_XBUTTON2) & 0x80);
2502 } 2502 }
2503 2503
2504 } // namespace internal 2504 } // namespace internal
2505 2505
2506 } // namespace views 2506 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_gtk.cc ('k') | ui/views/widget/tooltip_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698