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/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/timer.h" | 12 #include "base/timer.h" |
13 #include "ui/aura/client/tooltip_client.h" | 13 #include "ui/aura/client/tooltip_client.h" |
14 #include "ui/aura/window_observer.h" | 14 #include "ui/aura/window_observer.h" |
15 #include "ui/base/events/event_handler.h" | 15 #include "ui/base/events/event_handler.h" |
16 #include "ui/gfx/point.h" | 16 #include "ui/gfx/point.h" |
17 #include "ui/gfx/screen_type_delegate.h" | 17 #include "ui/gfx/screen_type_delegate.h" |
18 #include "ui/views/views_export.h" | 18 #include "ui/views/views_export.h" |
19 | 19 |
20 namespace aura { | 20 namespace aura { |
21 class Window; | 21 class Window; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 std::map<aura::Window*, int> tooltip_shown_timeout_map_; | 120 std::map<aura::Window*, int> tooltip_shown_timeout_map_; |
121 | 121 |
122 DISALLOW_COPY_AND_ASSIGN(TooltipController); | 122 DISALLOW_COPY_AND_ASSIGN(TooltipController); |
123 }; | 123 }; |
124 | 124 |
125 } // namespace corewm | 125 } // namespace corewm |
126 } // namespace views | 126 } // namespace views |
127 | 127 |
128 #endif // UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ | 128 #endif // UI_VIEWS_COREWM_TOOLTIP_CONTROLLER_H_ |
OLD | NEW |