| 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_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/translate/translate_infobar_view.h" | 9 #include "chrome/browser/translate/translate_infobar_view.h" |
| 10 #include "chrome/browser/views/infobars/infobars.h" | 10 #include "chrome/browser/ui/views/infobars/infobars.h" |
| 11 | 11 |
| 12 class TranslateInfoBarDelegate; | 12 class TranslateInfoBarDelegate; |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 class MenuButton; | 15 class MenuButton; |
| 16 class ViewMenuDelegate; | 16 class ViewMenuDelegate; |
| 17 } | 17 } |
| 18 | 18 |
| 19 // This class contains some of the base functionality that translate infobars | 19 // This class contains some of the base functionality that translate infobars |
| 20 // use. | 20 // use. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // Paints |background| to |canvas| with the opacity level based on | 66 // Paints |background| to |canvas| with the opacity level based on |
| 67 // |animation_value|. | 67 // |animation_value|. |
| 68 void FadeBackground(gfx::Canvas* canvas, | 68 void FadeBackground(gfx::Canvas* canvas, |
| 69 double animation_value, | 69 double animation_value, |
| 70 const InfoBarBackground& background); | 70 const InfoBarBackground& background); |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarBase); | 72 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarBase); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ | 75 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_TRANSLATE_INFOBAR_BASE_H_ |
| OLD | NEW |