| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | |
| 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h" | |
| 10 | |
| 11 class TranslateInfoBarDelegate; | |
| 12 | |
| 13 class TranslateMessageInfoBar : public TranslateInfoBarBase { | |
| 14 public: | |
| 15 explicit TranslateMessageInfoBar( | |
| 16 scoped_ptr<TranslateInfoBarDelegate> delegate); | |
| 17 | |
| 18 private: | |
| 19 virtual ~TranslateMessageInfoBar(); | |
| 20 | |
| 21 // TranslateInfoBarBase: | |
| 22 virtual void PlatformSpecificSetOwner() OVERRIDE; | |
| 23 | |
| 24 CHROMEGTK_CALLBACK_0(TranslateMessageInfoBar, void, OnButtonPressed); | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(TranslateMessageInfoBar); | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_TRANSLATE_MESSAGE_INFOBAR_GTK_H_ | |
| OLD | NEW |