Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/gtk/translate/before_translate_infobar_gtk.h

Issue 6251001: Move chrome/browser/gtk/ to chrome/browser/ui/gtk/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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_BEFORE_TRANSLATE_INFOBAR_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_
6 #define CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_TRANSLATE_BEFORE_TRANSLATE_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/gtk/translate/translate_infobar_base_gtk.h"
10 10
11 class TranslateInfoBarDelegate; 11 class TranslateInfoBarDelegate;
12 12
13 class BeforeTranslateInfoBar : public TranslateInfoBarBase { 13 class BeforeTranslateInfoBar : public TranslateInfoBarBase {
14 public: 14 public:
15 explicit BeforeTranslateInfoBar(TranslateInfoBarDelegate* delegate); 15 explicit BeforeTranslateInfoBar(TranslateInfoBarDelegate* delegate);
16 virtual ~BeforeTranslateInfoBar(); 16 virtual ~BeforeTranslateInfoBar();
17 17
18 // Overridden from TranslateInfoBarBase: 18 // Overridden from TranslateInfoBarBase:
19 virtual void Init(); 19 virtual void Init();
20 20
21 protected: 21 protected:
22 virtual bool ShowOptionsMenuButton() const; 22 virtual bool ShowOptionsMenuButton() const;
23 23
24 private: 24 private:
25 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnLanguageModified); 25 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnLanguageModified);
26 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAcceptPressed); 26 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAcceptPressed);
27 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnDenyPressed); 27 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnDenyPressed);
28 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnNeverTranslatePressed); 28 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnNeverTranslatePressed);
29 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAlwaysTranslatePressed); 29 CHROMEGTK_CALLBACK_0(BeforeTranslateInfoBar, void, OnAlwaysTranslatePressed);
30 30
31 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar); 31 DISALLOW_COPY_AND_ASSIGN(BeforeTranslateInfoBar);
32 }; 32 };
33 33
34 #endif // CHROME_BROWSER_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_ 34 #endif // CHROME_BROWSER_UI_GTK_TRANSLATE_BEFORE_TRANSLATE_INFOBAR_GTK_H_
OLDNEW

Powered by Google App Engine