OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/controls/native_control.h" | 5 #include "chrome/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 | 11 |
| 12 #include "app/l10n_util_win.h" |
12 #include "base/logging.h" | 13 #include "base/logging.h" |
13 #include "base/win_util.h" | 14 #include "base/win_util.h" |
14 #include "chrome/common/l10n_util_win.h" | |
15 #include "chrome/common/notification_service.h" | 15 #include "chrome/common/notification_service.h" |
16 #include "chrome/views/background.h" | 16 #include "chrome/views/background.h" |
17 #include "chrome/views/border.h" | 17 #include "chrome/views/border.h" |
18 #include "chrome/views/controls/hwnd_view.h" | 18 #include "chrome/views/controls/hwnd_view.h" |
19 #include "chrome/views/focus/focus_manager.h" | 19 #include "chrome/views/focus/focus_manager.h" |
20 #include "chrome/views/widget/widget.h" | 20 #include "chrome/views/widget/widget.h" |
21 #include "base/gfx/native_theme.h" | 21 #include "base/gfx/native_theme.h" |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 | 24 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 RemoveProp(window, kHandlerKey); | 377 RemoveProp(window, kHandlerKey); |
378 RemoveProp(window, kNativeControlKey); | 378 RemoveProp(window, kNativeControlKey); |
379 TRACK_HWND_DESTRUCTION(window); | 379 TRACK_HWND_DESTRUCTION(window); |
380 } | 380 } |
381 | 381 |
382 return CallWindowProc(reinterpret_cast<WNDPROC>(original_handler), window, | 382 return CallWindowProc(reinterpret_cast<WNDPROC>(original_handler), window, |
383 message, w_param, l_param); | 383 message, w_param, l_param); |
384 } | 384 } |
385 | 385 |
386 } // namespace views | 386 } // namespace views |
OLD | NEW |