| 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 CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ |
| 7 | 7 |
| 8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
| 9 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" | 9 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" |
| 10 #include "ui/gfx/animation/animation_delegate.h" | 10 #include "ui/gfx/animation/animation_delegate.h" |
| 11 #include "ui/gfx/point.h" | 11 #include "ui/gfx/geometry/point.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Rect; | 17 class Rect; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // Bubble that informs the user when an exclusive access state is in effect and | 20 // Bubble that informs the user when an exclusive access state is in effect and |
| 21 // as to how to exit out of the state. Currently there are two exclusive access | 21 // as to how to exit out of the state. Currently there are two exclusive access |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 base::RepeatingTimer<ExclusiveAccessBubble> mouse_position_checker_; | 109 base::RepeatingTimer<ExclusiveAccessBubble> mouse_position_checker_; |
| 110 | 110 |
| 111 // The most recently seen mouse position, in screen coordinates. Used to see | 111 // The most recently seen mouse position, in screen coordinates. Used to see |
| 112 // if the mouse has moved since our last check. | 112 // if the mouse has moved since our last check. |
| 113 gfx::Point last_mouse_pos_; | 113 gfx::Point last_mouse_pos_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(ExclusiveAccessBubble); | 115 DISALLOW_COPY_AND_ASSIGN(ExclusiveAccessBubble); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ | 118 #endif // CHROME_BROWSER_UI_EXCLUSIVE_ACCESS_EXCLUSIVE_ACCESS_BUBBLE_H_ |
| OLD | NEW |