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_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h" | 9 #include "chrome/browser/ui/gtk/translate/translate_message_infobar_gtk.h" |
10 | 10 // TODO(msw): remove this file once all includes have been updated. |
11 class TranslateInfoBarDelegate; | |
12 | |
13 class TranslateMessageInfoBar : public TranslateInfoBarBase { | |
14 public: | |
15 explicit TranslateMessageInfoBar(TranslateInfoBarDelegate* delegate); | |
16 virtual ~TranslateMessageInfoBar(); | |
17 | |
18 // Overridden from TranslateInfoBarBase: | |
19 virtual void Init(); | |
20 | |
21 private: | |
22 CHROMEGTK_CALLBACK_0(TranslateMessageInfoBar, void, OnButtonPressed); | |
23 | |
24 DISALLOW_COPY_AND_ASSIGN(TranslateMessageInfoBar); | |
25 }; | |
26 | 11 |
27 #endif // CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | 12 #endif // CHROME_BROWSER_GTK_TRANSLATE_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ |
OLD | NEW |