Home
last modified time | relevance | path

Searched refs:TranslateInfoBar (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/ui/android/infobars/
Dtranslate_infobar.cc21 return scoped_ptr<InfoBar>(new TranslateInfoBar(delegate.Pass())); in CreateInfoBar()
27 TranslateInfoBar::TranslateInfoBar( in TranslateInfoBar() function in TranslateInfoBar
33 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 …]
Dtranslate_infobar.h13 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);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
DTranslateInfoBar.java22 public class TranslateInfoBar extends TwoButtonInfoBar implements SubPanelListener { class
44 public TranslateInfoBar(long nativeInfoBarPtr, TranslateInfoBarDelegate delegate, in TranslateInfoBar() method in TranslateInfoBar
94 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()
DTranslateInfoBarDelegate.java13 private TranslateInfoBar mInfoBar;
34 mInfoBar = new TranslateInfoBar(nativeInfoBar, this, translateBarType, in showTranslateInfoBar()