| 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_GTK_INFOBAR_ARROW_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBAR_ARROW_MODEL_H_ |
| 6 #define CHROME_BROWSER_GTK_INFOBAR_ARROW_MODEL_H_ | 6 #define CHROME_BROWSER_UI_GTK_INFOBAR_ARROW_MODEL_H_ |
| 7 #pragma once |
| 7 | 8 |
| 8 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 9 | 10 |
| 10 #include "third_party/skia/include/core/SkPaint.h" | 11 #include "third_party/skia/include/core/SkPaint.h" |
| 11 #include "ui/base/animation/animation_delegate.h" | 12 #include "ui/base/animation/animation_delegate.h" |
| 12 #include "ui/base/animation/slide_animation.h" | 13 #include "ui/base/animation/slide_animation.h" |
| 13 | 14 |
| 14 namespace gfx { | 15 namespace gfx { |
| 15 class Point; | 16 class Point; |
| 16 } | 17 } |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 ui::SlideAnimation animation_; | 69 ui::SlideAnimation animation_; |
| 69 | 70 |
| 70 // The color we are animating towards. | 71 // The color we are animating towards. |
| 71 InfoBarColors target_colors_; | 72 InfoBarColors target_colors_; |
| 72 // The last color we showed (the one we are animating away from). | 73 // The last color we showed (the one we are animating away from). |
| 73 InfoBarColors previous_colors_; | 74 InfoBarColors previous_colors_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(InfoBarArrowModel); | 76 DISALLOW_COPY_AND_ASSIGN(InfoBarArrowModel); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 #endif // CHROME_BROWSER_GTK_INFOBAR_ARROW_MODEL_H_ | 79 #endif // CHROME_BROWSER_UI_GTK_INFOBAR_ARROW_MODEL_H_ |
| OLD | NEW |