| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/android/infobars/update_password_infobar.h" | 5 #include "chrome/browser/ui/android/infobars/update_password_infobar.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_array.h" | 10 #include "base/android/jni_array.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 update_password_delegate->message_link_range().start(), | 55 update_password_delegate->message_link_range().start(), |
| 56 update_password_delegate->message_link_range().end(), ok_button_text, | 56 update_password_delegate->message_link_range().end(), ok_button_text, |
| 57 cancel_button_text)); | 57 cancel_button_text)); |
| 58 | 58 |
| 59 java_infobar_.Reset(env, infobar.obj()); | 59 java_infobar_.Reset(env, infobar.obj()); |
| 60 return infobar; | 60 return infobar; |
| 61 } | 61 } |
| 62 | 62 |
| 63 void UpdatePasswordInfoBar::OnLinkClicked(JNIEnv* env, | 63 void UpdatePasswordInfoBar::OnLinkClicked(JNIEnv* env, |
| 64 const JavaParamRef<jobject>& obj) { | 64 const JavaParamRef<jobject>& obj) { |
| 65 GetDelegate()->LinkClicked(NEW_FOREGROUND_TAB); | 65 GetDelegate()->LinkClicked(WindowOpenDisposition::NEW_FOREGROUND_TAB); |
| 66 } | 66 } |
| OLD | NEW |