| OLD | NEW |
| 1 // Copyright (c) 2012 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 "ui/views/controls/table/table_view.h" | 5 #include "ui/views/controls/table/table_view.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
| 10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
| 11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
| 13 #include "ui/accessibility/ax_view_state.h" | 13 #include "ui/accessibility/ax_view_state.h" |
| 14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
| 15 #include "ui/gfx/canvas.h" | 15 #include "ui/gfx/canvas.h" |
| 16 #include "ui/gfx/geometry/rect_conversions.h" |
| 16 #include "ui/gfx/image/image_skia.h" | 17 #include "ui/gfx/image/image_skia.h" |
| 17 #include "ui/gfx/rect_conversions.h" | |
| 18 #include "ui/gfx/skia_util.h" | 18 #include "ui/gfx/skia_util.h" |
| 19 #include "ui/gfx/text_utils.h" | 19 #include "ui/gfx/text_utils.h" |
| 20 #include "ui/native_theme/native_theme.h" | 20 #include "ui/native_theme/native_theme.h" |
| 21 #include "ui/views/controls/scroll_view.h" | 21 #include "ui/views/controls/scroll_view.h" |
| 22 #include "ui/views/controls/table/table_grouper.h" | 22 #include "ui/views/controls/table/table_grouper.h" |
| 23 #include "ui/views/controls/table/table_header.h" | 23 #include "ui/views/controls/table/table_header.h" |
| 24 #include "ui/views/controls/table/table_utils.h" | 24 #include "ui/views/controls/table/table_utils.h" |
| 25 #include "ui/views/controls/table/table_view_observer.h" | 25 #include "ui/views/controls/table/table_view_observer.h" |
| 26 #include "ui/views/controls/table/table_view_row_background_painter.h" | 26 #include "ui/views/controls/table/table_view_row_background_painter.h" |
| 27 | 27 |
| (...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 932 if (tooltip) | 932 if (tooltip) |
| 933 *tooltip = text; | 933 *tooltip = text; |
| 934 if (tooltip_origin) { | 934 if (tooltip_origin) { |
| 935 tooltip_origin->SetPoint(cell_bounds.x(), | 935 tooltip_origin->SetPoint(cell_bounds.x(), |
| 936 cell_bounds.y() + kTextVerticalPadding); | 936 cell_bounds.y() + kTextVerticalPadding); |
| 937 } | 937 } |
| 938 return true; | 938 return true; |
| 939 } | 939 } |
| 940 | 940 |
| 941 } // namespace views | 941 } // namespace views |
| OLD | NEW |