| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/corewm/tooltip_aura.h" | 5 #include "ui/views/corewm/tooltip_aura.h" |
| 6 | 6 |
| 7 #include "base/strings/string_split.h" | 7 #include "base/strings/string_split.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/aura/window_tree_host.h" | 9 #include "ui/aura/window_tree_host.h" |
| 10 #include "ui/base/resource/resource_bundle.h" | |
| 11 #include "ui/gfx/screen.h" | 10 #include "ui/gfx/screen.h" |
| 12 #include "ui/gfx/text_elider.h" | 11 #include "ui/gfx/text_elider.h" |
| 13 #include "ui/gfx/text_utils.h" | 12 #include "ui/gfx/text_utils.h" |
| 14 #include "ui/native_theme/native_theme.h" | 13 #include "ui/native_theme/native_theme.h" |
| 15 #include "ui/views/background.h" | 14 #include "ui/views/background.h" |
| 16 #include "ui/views/border.h" | 15 #include "ui/views/border.h" |
| 17 #include "ui/views/widget/widget.h" | 16 #include "ui/views/widget/widget.h" |
| 18 | 17 |
| 19 namespace { | 18 namespace { |
| 20 | 19 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 } | 235 } |
| 237 | 236 |
| 238 void TooltipAura::OnWidgetDestroying(views::Widget* widget) { | 237 void TooltipAura::OnWidgetDestroying(views::Widget* widget) { |
| 239 DCHECK_EQ(widget_, widget); | 238 DCHECK_EQ(widget_, widget); |
| 240 widget_ = NULL; | 239 widget_ = NULL; |
| 241 tooltip_window_ = NULL; | 240 tooltip_window_ = NULL; |
| 242 } | 241 } |
| 243 | 242 |
| 244 } // namespace corewm | 243 } // namespace corewm |
| 245 } // namespace views | 244 } // namespace views |
| OLD | NEW |