| 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 #include "chrome/browser/views/status_bubble_views.h" | 5 #include "chrome/browser/ui/views/status_bubble_views.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/animation_delegate.h" | 9 #include "app/animation_delegate.h" |
| 10 #include "app/linear_animation.h" | 10 #include "app/linear_animation.h" |
| 11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 12 #include "app/text_elider.h" | 12 #include "app/text_elider.h" |
| 13 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
| 14 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 void StatusBubbleViews::SetBubbleWidth(int width) { | 827 void StatusBubbleViews::SetBubbleWidth(int width) { |
| 828 size_.set_width(width); | 828 size_.set_width(width); |
| 829 SetBounds(original_position_.x(), original_position_.y(), | 829 SetBounds(original_position_.x(), original_position_.y(), |
| 830 size_.width(), size_.height()); | 830 size_.width(), size_.height()); |
| 831 } | 831 } |
| 832 | 832 |
| 833 void StatusBubbleViews::CancelExpandTimer() { | 833 void StatusBubbleViews::CancelExpandTimer() { |
| 834 if (!expand_timer_factory_.empty()) | 834 if (!expand_timer_factory_.empty()) |
| 835 expand_timer_factory_.RevokeAll(); | 835 expand_timer_factory_.RevokeAll(); |
| 836 } | 836 } |
| OLD | NEW |