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 #ifndef UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ | 5 #ifndef UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ |
6 #define UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ | 6 #define UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
13 #include "ui/aura/window_observer.h" | 13 #include "ui/aura/window_observer.h" |
14 #include "ui/events/event_handler.h" | 14 #include "ui/events/event_handler.h" |
15 #include "ui/gfx/point.h" | 15 #include "ui/gfx/geometry/point.h" |
16 #include "ui/views/views_export.h" | 16 #include "ui/views/views_export.h" |
17 #include "ui/wm/public/tooltip_client.h" | 17 #include "ui/wm/public/tooltip_client.h" |
18 | 18 |
19 namespace aura { | 19 namespace aura { |
20 class Window; | 20 class Window; |
21 } | 21 } |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 namespace corewm { | 24 namespace corewm { |
25 | 25 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 std::map<aura::Window*, int> tooltip_shown_timeout_map_; | 103 std::map<aura::Window*, int> tooltip_shown_timeout_map_; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(TooltipController); | 105 DISALLOW_COPY_AND_ASSIGN(TooltipController); |
106 }; | 106 }; |
107 | 107 |
108 } // namespace corewm | 108 } // namespace corewm |
109 } // namespace views | 109 } // namespace views |
110 | 110 |
111 #endif // UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ | 111 #endif // UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ |
OLD | NEW |