OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/controls/native_control.h" | 5 #include "views/controls/native_control.h" |
6 | 6 |
7 #include <atlbase.h> | 7 #include <atlbase.h> |
8 #include <atlapp.h> | 8 #include <atlapp.h> |
9 #include <atlcrack.h> | 9 #include <atlcrack.h> |
10 #include <atlframe.h> | 10 #include <atlframe.h> |
11 #include <atlmisc.h> | 11 #include <atlmisc.h> |
12 | 12 |
| 13 #include "app/keyboard_codes.h" |
13 #include "app/l10n_util_win.h" | 14 #include "app/l10n_util_win.h" |
14 #include "base/keyboard_codes.h" | |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/win_util.h" | 16 #include "base/win_util.h" |
17 #include "gfx/native_theme_win.h" | 17 #include "gfx/native_theme_win.h" |
18 #include "views/background.h" | 18 #include "views/background.h" |
19 #include "views/border.h" | 19 #include "views/border.h" |
20 #include "views/controls/native/native_view_host.h" | 20 #include "views/controls/native/native_view_host.h" |
21 #include "views/focus/focus_manager.h" | 21 #include "views/focus/focus_manager.h" |
22 #include "views/widget/widget.h" | 22 #include "views/widget/widget.h" |
23 | 23 |
24 namespace views { | 24 namespace views { |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 reinterpret_cast<WNDPROC>(original_handler)); | 374 reinterpret_cast<WNDPROC>(original_handler)); |
375 RemoveProp(window, kHandlerKey); | 375 RemoveProp(window, kHandlerKey); |
376 RemoveProp(window, kNativeControlKey); | 376 RemoveProp(window, kNativeControlKey); |
377 } | 377 } |
378 | 378 |
379 return CallWindowProc(reinterpret_cast<WNDPROC>(original_handler), window, | 379 return CallWindowProc(reinterpret_cast<WNDPROC>(original_handler), window, |
380 message, w_param, l_param); | 380 message, w_param, l_param); |
381 } | 381 } |
382 | 382 |
383 } // namespace views | 383 } // namespace views |
OLD | NEW |