Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: chrome/browser/ui/android/infobars/update_password_infobar.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/infobars/save_password_infobar.cc ('k') | chrome/browser/ui/android/usb_chooser_dialog_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698