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 <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include <utility> | 10 #include <utility> |
9 | 11 |
10 #include "base/auto_reset.h" | 12 #include "base/auto_reset.h" |
11 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
12 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
14 #include "ui/accessibility/ax_view_state.h" | 16 #include "ui/accessibility/ax_view_state.h" |
15 #include "ui/events/event.h" | 17 #include "ui/events/event.h" |
16 #include "ui/gfx/canvas.h" | 18 #include "ui/gfx/canvas.h" |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 if (tooltip) | 948 if (tooltip) |
947 *tooltip = text; | 949 *tooltip = text; |
948 if (tooltip_origin) { | 950 if (tooltip_origin) { |
949 tooltip_origin->SetPoint(cell_bounds.x(), | 951 tooltip_origin->SetPoint(cell_bounds.x(), |
950 cell_bounds.y() + kTextVerticalPadding); | 952 cell_bounds.y() + kTextVerticalPadding); |
951 } | 953 } |
952 return true; | 954 return true; |
953 } | 955 } |
954 | 956 |
955 } // namespace views | 957 } // namespace views |
OLD | NEW |