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 #ifndef CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/ui/fullscreen_exit_bubble.h" | 10 #include "chrome/browser/ui/fullscreen_exit_bubble.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 #include "views/controls/link_listener.h" | 12 #include "views/controls/link_listener.h" |
13 | 13 |
| 14 namespace ui { |
| 15 class SlideAnimation; |
| 16 } |
| 17 |
14 namespace views { | 18 namespace views { |
15 class View; | 19 class View; |
16 class Widget; | 20 class Widget; |
17 } | 21 } |
18 | 22 |
19 // FullscreenExitBubbleViews is responsible for showing a bubble atop the | 23 // FullscreenExitBubbleViews is responsible for showing a bubble atop the |
20 // screen in fullscreen mode, telling users how to exit and providing a click | 24 // screen in fullscreen mode, telling users how to exit and providing a click |
21 // target. The bubble auto-hides, and re-shows when the user moves to the | 25 // target. The bubble auto-hides, and re-shows when the user moves to the |
22 // screen top. | 26 // screen top. |
23 class FullscreenExitBubbleViews : public views::LinkListener, | 27 class FullscreenExitBubbleViews : public views::LinkListener, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; | 65 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; |
62 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; | 66 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; |
63 | 67 |
64 // The contents of the popup. | 68 // The contents of the popup. |
65 FullscreenExitView* view_; | 69 FullscreenExitView* view_; |
66 | 70 |
67 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubbleViews); | 71 DISALLOW_COPY_AND_ASSIGN(FullscreenExitBubbleViews); |
68 }; | 72 }; |
69 | 73 |
70 #endif // CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ | 74 #endif // CHROME_BROWSER_UI_VIEWS_FULLSCREEN_EXIT_BUBBLE_VIEWS_H_ |
OLD | NEW |