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_ |