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_VIEWS_STATUS_BUBBLE_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/browser/ui/status_bubble.h" | 13 #include "chrome/browser/ui/status_bubble.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Point; | 18 class Point; |
19 } | 19 } |
20 namespace views { | 20 namespace views { |
21 class View; | 21 class View; |
22 class Widget; | 22 class Widget; |
23 } | 23 } |
24 | 24 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // change size immediately, with no hover. | 143 // change size immediately, with no hover. |
144 bool is_expanded_; | 144 bool is_expanded_; |
145 | 145 |
146 // Times expansion of status bubble when URL is too long for standard width. | 146 // Times expansion of status bubble when URL is too long for standard width. |
147 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; | 147 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews); | 149 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews); |
150 }; | 150 }; |
151 | 151 |
152 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ | 152 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ |
OLD | NEW |