translate_infobar_view.h revision 3345a6884c488ff3a535c2c9acdd33d74b37e311
1// Copyright (c) 2010 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_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
6#define CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
7#pragma once
8
9// This interface should be implemented by classes that are the view (in the MVC
10// sense) of the TranslateInfoBarDelegate (which is the model).
11class TranslateInfoBarView {
12 public:
13  virtual void OriginalLanguageChanged() = 0;
14  virtual void TargetLanguageChanged() = 0;
15
16 protected:
17  virtual ~TranslateInfoBarView() {}
18};
19
20#endif  // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
21