| 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/table/table_view.h" |     5 #include "chrome/views/controls/table/table_view.h" | 
|     6  |     6  | 
|     7 #include <algorithm> |     7 #include <algorithm> | 
|     8 #include <windowsx.h> |     8 #include <windowsx.h> | 
|     9  |     9  | 
 |    10 #include "app/l10n_util_win.h" | 
|    10 #include "app/resource_bundle.h" |    11 #include "app/resource_bundle.h" | 
|    11 #include "base/string_util.h" |    12 #include "base/string_util.h" | 
|    12 #include "base/win_util.h" |    13 #include "base/win_util.h" | 
|    13 #include "chrome/common/gfx/chrome_canvas.h" |    14 #include "chrome/common/gfx/chrome_canvas.h" | 
|    14 #include "chrome/common/gfx/favicon_size.h" |    15 #include "chrome/common/gfx/favicon_size.h" | 
|    15 #include "chrome/common/gfx/icon_util.h" |    16 #include "chrome/common/gfx/icon_util.h" | 
|    16 #include "chrome/common/l10n_util_win.h" |  | 
|    17 #include "chrome/common/win_util.h" |    17 #include "chrome/common/win_util.h" | 
|    18 #include "chrome/views/controls/hwnd_view.h" |    18 #include "chrome/views/controls/hwnd_view.h" | 
|    19 #include "SkBitmap.h" |    19 #include "SkBitmap.h" | 
|    20 #include "SkColorFilter.h" |    20 #include "SkColorFilter.h" | 
|    21 #include "skia/ext/skia_utils_win.h" |    21 #include "skia/ext/skia_utils_win.h" | 
|    22  |    22  | 
|    23 namespace views { |    23 namespace views { | 
|    24  |    24  | 
|    25 // Added to column width to prevent truncation. |    25 // Added to column width to prevent truncation. | 
|    26 const int kListViewTextPadding = 15; |    26 const int kListViewTextPadding = 15; | 
| (...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1562 } |  1562 } | 
|  1563  |  1563  | 
|  1564 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { |  1564 void TableSelectionIterator::UpdateModelIndexFromViewIndex() { | 
|  1565   if (view_index_ == -1) |  1565   if (view_index_ == -1) | 
|  1566     model_index_ = -1; |  1566     model_index_ = -1; | 
|  1567   else |  1567   else | 
|  1568     model_index_ = table_view_->view_to_model(view_index_); |  1568     model_index_ = table_view_->view_to_model(view_index_); | 
|  1569 } |  1569 } | 
|  1570  |  1570  | 
|  1571 }  // namespace views |  1571 }  // namespace views | 
| OLD | NEW |