| 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 "ash/tooltips/tooltip_controller.h" | 5 #include "ash/tooltips/tooltip_controller.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/wm/coordinate_conversion.h" | 11 #include "ash/wm/coordinate_conversion.h" |
| 12 #include "ash/wm/cursor_manager.h" | |
| 13 #include "ash/wm/session_state_controller.h" | 12 #include "ash/wm/session_state_controller.h" |
| 14 #include "ash/wm/session_state_observer.h" | 13 #include "ash/wm/session_state_observer.h" |
| 15 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 16 #include "base/location.h" | 15 #include "base/location.h" |
| 17 #include "base/string_split.h" | 16 #include "base/string_split.h" |
| 18 #include "base/time.h" | 17 #include "base/time.h" |
| 19 #include "ui/aura/client/drag_drop_client.h" | 18 #include "ui/aura/client/drag_drop_client.h" |
| 20 #include "ui/aura/env.h" | 19 #include "ui/aura/env.h" |
| 21 #include "ui/aura/root_window.h" | 20 #include "ui/aura/root_window.h" |
| 22 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 } | 477 } |
| 479 | 478 |
| 480 TooltipController::Tooltip* TooltipController::GetTooltip() { | 479 TooltipController::Tooltip* TooltipController::GetTooltip() { |
| 481 if (!tooltip_.get()) | 480 if (!tooltip_.get()) |
| 482 tooltip_.reset(new Tooltip(this)); | 481 tooltip_.reset(new Tooltip(this)); |
| 483 return tooltip_.get(); | 482 return tooltip_.get(); |
| 484 } | 483 } |
| 485 | 484 |
| 486 } // namespace internal | 485 } // namespace internal |
| 487 } // namespace ash | 486 } // namespace ash |
| OLD | NEW |