Home | History | Annotate | Download | only in translate
      1 // Copyright (c) 2011 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).
     11 class TranslateInfoBarView {
     12  public:
     13   virtual void OriginalLanguageChanged() {}
     14   virtual void TargetLanguageChanged() {}
     15 
     16  protected:
     17   virtual ~TranslateInfoBarView() {}
     18 };
     19 
     20 #endif  // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_VIEW_H_
     21