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

Unified Diff: chrome/browser/translate/translate_infobar_view.h

Issue 2602003: Refactored the translate infobars. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Synced Created 10 years, 6 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/translate/translate_infobar_view.h
diff --git a/chrome/browser/translate/translate_infobar_view.h b/chrome/browser/translate/translate_infobar_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..c1898e722fb4c5a06fe792054fb66f132b0a8e4c
--- /dev/null
+++ b/chrome/browser/translate/translate_infobar_view.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2010 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.
+
+#ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
+#define CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
+
+// This interface should be implemented by classes that are the view (in the MVC
+// sense) of the TranslateInfoBarDelegate (which is the model).
+class TranslateInfoBarView {
+ public:
+ virtual void OriginalLanguageChanged() = 0;
+ virtual void TargetLanguageChanged() = 0;
+
+ protected:
+ virtual ~TranslateInfoBarView() {}
+};
+
+#endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
« no previous file with comments | « chrome/browser/translate/translate_infobar_delegate2.cc ('k') | chrome/browser/translate/translate_manager2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698