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" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.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/geometry/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 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // change size immediately, with no hover. | 141 // change size immediately, with no hover. |
142 bool is_expanded_; | 142 bool is_expanded_; |
143 | 143 |
144 // Times expansion of status bubble when URL is too long for standard width. | 144 // Times expansion of status bubble when URL is too long for standard width. |
145 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; | 145 base::WeakPtrFactory<StatusBubbleViews> expand_timer_factory_; |
146 | 146 |
147 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews); | 147 DISALLOW_COPY_AND_ASSIGN(StatusBubbleViews); |
148 }; | 148 }; |
149 | 149 |
150 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ | 150 #endif // CHROME_BROWSER_UI_VIEWS_STATUS_BUBBLE_VIEWS_H_ |
OLD | NEW |