OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ |
6 #define CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ | 6 #define CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ |
7 | 7 |
8 #include "app/slide_animation.h" | 8 #include "app/slide_animation.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/timer.h" |
10 #include "chrome/browser/command_updater.h" | 11 #include "chrome/browser/command_updater.h" |
11 #include "views/controls/link.h" | 12 #include "views/controls/link.h" |
12 | 13 |
13 #if defined(OS_LINUX) | 14 #if defined(OS_LINUX) |
14 namespace views { | 15 namespace views { |
15 class WidgetGtk; | 16 class WidgetGtk; |
16 } | 17 } |
17 #endif | 18 #endif |
18 | 19 |
19 // FullscreenExitBubble is responsible for showing a bubble atop the screen in | 20 // FullscreenExitBubble is responsible for showing a bubble atop the screen in |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 base::RepeatingTimer<FullscreenExitBubble> mouse_position_checker_; | 97 base::RepeatingTimer<FullscreenExitBubble> mouse_position_checker_; |
97 | 98 |
98 // The most recently seen mouse position, in screen coordinates. Used to see | 99 // The most recently seen mouse position, in screen coordinates. Used to see |
99 // if the mouse has moved since our last check. | 100 // if the mouse has moved since our last check. |
100 gfx::Point last_mouse_pos_; | 101 gfx::Point last_mouse_pos_; |
101 | 102 |
102 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubble); | 103 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubble); |
103 }; | 104 }; |
104 | 105 |
105 #endif // CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ | 106 #endif // CHROME_BROWSER_VIEWS_FULLSCREEN_EXIT_BUBBLE_H__ |
OLD | NEW |