Searched refs:TranslateInfoBar (Results 1 – 4 of 4) sorted by relevance
21 return scoped_ptr<InfoBar>(new TranslateInfoBar(delegate.Pass())); in CreateInfoBar()27 TranslateInfoBar::TranslateInfoBar( in TranslateInfoBar() function in TranslateInfoBar33 TranslateInfoBar::~TranslateInfoBar() { in ~TranslateInfoBar()36 ScopedJavaLocalRef<jobject> TranslateInfoBar::CreateRenderInfoBar(JNIEnv* env) { in CreateRenderInfoBar()53 void TranslateInfoBar::ProcessButton(int action, in ProcessButton()74 void TranslateInfoBar::PassJavaInfoBar(InfoBarAndroid* source) { in PassJavaInfoBar()81 static_cast<TranslateInfoBar*>(source)->TransferOwnership( in PassJavaInfoBar()85 void TranslateInfoBar::ApplyTranslateOptions(JNIEnv* env, in ApplyTranslateOptions()106 void TranslateInfoBar::TransferOwnership( in TransferOwnership()107 TranslateInfoBar* destination, in TransferOwnership()[all …]
13 class TranslateInfoBar : public InfoBarAndroid {15 explicit TranslateInfoBar(scoped_ptr<TranslateInfoBarDelegate> delegate);16 virtual ~TranslateInfoBar();35 void TransferOwnership(TranslateInfoBar* destination,44 DISALLOW_COPY_AND_ASSIGN(TranslateInfoBar);
22 public class TranslateInfoBar extends TwoButtonInfoBar implements SubPanelListener { class44 public TranslateInfoBar(long nativeInfoBarPtr, TranslateInfoBarDelegate delegate, in TranslateInfoBar() method in TranslateInfoBar94 case TranslateInfoBar.BEFORE_TRANSLATE_INFOBAR: in actionFor()98 case TranslateInfoBar.AFTER_TRANSLATE_INFOBAR: in actionFor()103 case TranslateInfoBar.TRANSLATE_ERROR_INFOBAR: in actionFor()242 return (getInfoBarType() == TranslateInfoBar.BEFORE_TRANSLATE_INFOBAR in needsNeverPanel()247 return (getInfoBarType() == TranslateInfoBar.AFTER_TRANSLATE_INFOBAR in needsAlwaysPanel()
13 private TranslateInfoBar mInfoBar;34 mInfoBar = new TranslateInfoBar(nativeInfoBar, this, translateBarType, in showTranslateInfoBar()