| OLD | NEW |
| 1 // Copyright (c) 2009 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/gtk/tabs/tab_renderer_gtk.h" | 5 #include "chrome/browser/gtk/tabs/tab_renderer_gtk.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 | 10 |
| 11 typedef TabRendererGtk::LoadingAnimation LoadingAnimation; | 11 typedef TabRendererGtk::LoadingAnimation LoadingAnimation; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 loading_animation.animation_frame()); | 65 loading_animation.animation_frame()); |
| 66 | 66 |
| 67 loading_animation.ValidateLoadingAnimation(TabRendererGtk::ANIMATION_LOADING); | 67 loading_animation.ValidateLoadingAnimation(TabRendererGtk::ANIMATION_LOADING); |
| 68 EXPECT_EQ(TabRendererGtk::ANIMATION_LOADING, | 68 EXPECT_EQ(TabRendererGtk::ANIMATION_LOADING, |
| 69 loading_animation.animation_state()); | 69 loading_animation.animation_state()); |
| 70 EXPECT_EQ(kTestLoadingAnimationFrameCount - 1, | 70 EXPECT_EQ(kTestLoadingAnimationFrameCount - 1, |
| 71 loading_animation.animation_frame()); | 71 loading_animation.animation_frame()); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace | 74 } // namespace |
| OLD | NEW |