| OLD | NEW |
| 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <windows.h> | 5 #include <windows.h> |
| 6 #include <CommCtrl.h> | 6 #include <CommCtrl.h> |
| 7 #include <commdlg.h> | 7 #include <commdlg.h> |
| 8 #include <time.h> | 8 #include <time.h> |
| 9 #include <windowsx.h> | 9 #include <windowsx.h> |
| 10 #include <atlbase.h> | 10 #include <atlbase.h> |
| 11 #include <atlsecurity.h> | 11 #include <atlsecurity.h> |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 item.iItem = ListView_GetItemCount(list_view_); | 659 item.iItem = ListView_GetItemCount(list_view_); |
| 660 item.iSubItem = 0; | 660 item.iSubItem = 0; |
| 661 item.mask = LVIF_TEXT | LVIF_PARAM; | 661 item.mask = LVIF_TEXT | LVIF_PARAM; |
| 662 item.pszText = message_time; | 662 item.pszText = message_time; |
| 663 item.lParam = 0; | 663 item.lParam = 0; |
| 664 | 664 |
| 665 ListView_InsertItem(list_view_, &item); | 665 ListView_InsertItem(list_view_, &item); |
| 666 | 666 |
| 667 delete[] message_time; | 667 delete[] message_time; |
| 668 } | 668 } |
| OLD | NEW |