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/custom_frame_window.h" | 5 #include "chrome/views/custom_frame_window.h" |
6 | 6 |
7 #include "base/gfx/point.h" | 7 #include "base/gfx/point.h" |
8 #include "base/gfx/size.h" | 8 #include "base/gfx/size.h" |
9 #include "base/win_util.h" | 9 #include "base/win_util.h" |
10 #include "chrome/app/theme/theme_resources.h" | 10 #include "grit/theme_resources.h" |
11 #include "chrome/common/gfx/path.h" | 11 #include "chrome/common/gfx/path.h" |
12 #include "chrome/common/gfx/chrome_canvas.h" | 12 #include "chrome/common/gfx/chrome_canvas.h" |
13 #include "chrome/common/gfx/chrome_font.h" | 13 #include "chrome/common/gfx/chrome_font.h" |
14 #include "chrome/common/l10n_util.h" | 14 #include "chrome/common/l10n_util.h" |
15 #include "chrome/common/resource_bundle.h" | 15 #include "chrome/common/resource_bundle.h" |
16 #include "chrome/common/win_util.h" | 16 #include "chrome/common/win_util.h" |
17 #include "chrome/views/button.h" | 17 #include "chrome/views/button.h" |
18 #include "chrome/views/client_view.h" | 18 #include "chrome/views/client_view.h" |
19 #include "chrome/views/native_button.h" | 19 #include "chrome/views/native_button.h" |
20 #include "chrome/views/non_client_view.h" | 20 #include "chrome/views/non_client_view.h" |
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 if ((GetKeyState(VK_CONTROL) & 0x80) == 0x80) | 1319 if ((GetKeyState(VK_CONTROL) & 0x80) == 0x80) |
1320 message_flags |= MK_CONTROL; | 1320 message_flags |= MK_CONTROL; |
1321 if ((GetKeyState(VK_SHIFT) & 0x80) == 0x80) | 1321 if ((GetKeyState(VK_SHIFT) & 0x80) == 0x80) |
1322 message_flags |= MK_SHIFT; | 1322 message_flags |= MK_SHIFT; |
1323 message_flags |= flags; | 1323 message_flags |= flags; |
1324 ProcessMousePressed(temp, message_flags, false); | 1324 ProcessMousePressed(temp, message_flags, false); |
1325 } | 1325 } |
1326 | 1326 |
1327 } // namespace views | 1327 } // namespace views |
1328 | 1328 |
OLD | NEW |