| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "ui/aura/client/aura_constants.h" | |
| 7 #include "ui/aura/client/tooltip_client.h" | 6 #include "ui/aura/client/tooltip_client.h" |
| 8 #include "ui/aura/root_window.h" | 7 #include "ui/aura/root_window.h" |
| 9 #include "ui/base/resource/resource_bundle.h" | 8 #include "ui/base/resource/resource_bundle.h" |
| 10 #include "ui/gfx/font.h" | 9 #include "ui/gfx/font.h" |
| 11 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
| 12 #include "ui/gfx/screen.h" | 11 #include "ui/gfx/screen.h" |
| 13 #include "ui/views/widget/native_widget_aura.h" | 12 #include "ui/views/widget/native_widget_aura.h" |
| 14 #include "ui/views/widget/tooltip_manager_aura.h" | 13 #include "ui/views/widget/tooltip_manager_aura.h" |
| 15 | 14 |
| 16 namespace views { | 15 namespace views { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void TooltipManagerAura::HideKeyboardTooltip() { | 97 void TooltipManagerAura::HideKeyboardTooltip() { |
| 99 NOTREACHED(); | 98 NOTREACHED(); |
| 100 } | 99 } |
| 101 | 100 |
| 102 View* TooltipManagerAura::GetViewUnderPoint(const gfx::Point& point) { | 101 View* TooltipManagerAura::GetViewUnderPoint(const gfx::Point& point) { |
| 103 View* root_view = native_widget_aura_->GetWidget()->GetRootView(); | 102 View* root_view = native_widget_aura_->GetWidget()->GetRootView(); |
| 104 return root_view->GetEventHandlerForPoint(point); | 103 return root_view->GetEventHandlerForPoint(point); |
| 105 } | 104 } |
| 106 | 105 |
| 107 } // namespace views. | 106 } // namespace views. |
| OLD | NEW |