OLD | NEW |
1 // Copyright (c) 2010 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_PAGE_INFO_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/page_info_model.h" | 9 #include "chrome/browser/page_info_model.h" |
10 #include "chrome/browser/views/info_bubble.h" | 10 #include "chrome/browser/ui/views/info_bubble.h" |
11 #include "ui/base/animation/animation_delegate.h" | 11 #include "ui/base/animation/animation_delegate.h" |
12 #include "ui/base/animation/slide_animation.h" | 12 #include "ui/base/animation/slide_animation.h" |
13 #include "views/controls/link.h" | 13 #include "views/controls/link.h" |
14 #include "views/view.h" | 14 #include "views/view.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 class Label; | 17 class Label; |
18 } | 18 } |
19 | 19 |
20 class PageInfoBubbleView : public views::View, | 20 class PageInfoBubbleView : public views::View, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Animation that helps us change size smoothly as more data comes in. | 76 // Animation that helps us change size smoothly as more data comes in. |
77 ui::SlideAnimation resize_animation_; | 77 ui::SlideAnimation resize_animation_; |
78 | 78 |
79 // The height of the info bubble at the start of the resize animation. | 79 // The height of the info bubble at the start of the resize animation. |
80 int animation_start_height_; | 80 int animation_start_height_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView); | 82 DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ | 85 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_BUBBLE_VIEW_H_ |
OLD | NEW |