summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_infobar_view.h
blob: 2b4af2873f311e34d97a1730489497f61f9b9d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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_
#pragma once

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