Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5386)

Unified Diff: chrome/browser/gtk/translate/after_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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/translate/after_translate_infobar_gtk.h
===================================================================
--- chrome/browser/gtk/translate/after_translate_infobar_gtk.h (revision 71352)
+++ chrome/browser/gtk/translate/after_translate_infobar_gtk.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,35 +6,7 @@
#define CHROME_BROWSER_GTK_TRANSLATE_AFTER_TRANSLATE_INFOBAR_GTK_H_
#pragma once
-#include "base/task.h"
-#include "chrome/browser/gtk/translate/translate_infobar_base_gtk.h"
+#include "chrome/browser/ui/gtk/translate/after_translate_infobar_gtk.h"
+// TODO(msw): remove this file once all includes have been updated.
-class TranslateInfoBarDelegate;
-
-class AfterTranslateInfoBar : public TranslateInfoBarBase {
- public:
- explicit AfterTranslateInfoBar(TranslateInfoBarDelegate* delegate);
- virtual ~AfterTranslateInfoBar();
-
- // Overridden from TranslateInfoBarBase:
- virtual void Init();
-
- protected:
- virtual bool ShowOptionsMenuButton() const;
-
- private:
- CHROMEGTK_CALLBACK_0(AfterTranslateInfoBar, void, OnOriginalLanguageModified);
- CHROMEGTK_CALLBACK_0(AfterTranslateInfoBar, void, OnTargetLanguageModified);
- CHROMEGTK_CALLBACK_0(AfterTranslateInfoBar, void, OnRevertPressed);
-
- // These methods set the original/target language on the
- // TranslateInfobarDelegate.
- void SetOriginalLanguage(int language_index);
- void SetTargetLanguage(int language_index);
-
- ScopedRunnableMethodFactory<AfterTranslateInfoBar> method_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(AfterTranslateInfoBar);
-};
-
#endif // CHROME_BROWSER_GTK_TRANSLATE_AFTER_TRANSLATE_INFOBAR_GTK_H_
« no previous file with comments | « chrome/browser/gtk/theme_install_bubble_view_gtk.cc ('k') | chrome/browser/gtk/translate/after_translate_infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698