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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/sync/ui/PassphraseDialogFragment.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 package org.chromium.chrome.browser.sync.ui; 5 package org.chromium.chrome.browser.sync.ui;
6 6
7 import android.app.Dialog; 7 import android.app.Dialog;
8 import android.app.DialogFragment; 8 import android.app.DialogFragment;
9 import android.app.Fragment; 9 import android.app.Fragment;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 18 matching lines...) Expand all
29 import android.widget.TextView; 29 import android.widget.TextView;
30 import android.widget.TextView.OnEditorActionListener; 30 import android.widget.TextView.OnEditorActionListener;
31 31
32 import org.chromium.base.ApiCompatibilityUtils; 32 import org.chromium.base.ApiCompatibilityUtils;
33 import org.chromium.base.BuildInfo; 33 import org.chromium.base.BuildInfo;
34 import org.chromium.base.Log; 34 import org.chromium.base.Log;
35 import org.chromium.base.metrics.RecordHistogram; 35 import org.chromium.base.metrics.RecordHistogram;
36 import org.chromium.chrome.R; 36 import org.chromium.chrome.R;
37 import org.chromium.chrome.browser.sync.ProfileSyncService; 37 import org.chromium.chrome.browser.sync.ProfileSyncService;
38 import org.chromium.chrome.browser.util.IntentUtils; 38 import org.chromium.chrome.browser.util.IntentUtils;
39 import org.chromium.sync.PassphraseType; 39 import org.chromium.components.sync.PassphraseType;
40 import org.chromium.ui.text.SpanApplier; 40 import org.chromium.ui.text.SpanApplier;
41 import org.chromium.ui.text.SpanApplier.SpanInfo; 41 import org.chromium.ui.text.SpanApplier.SpanInfo;
42 42
43 /** 43 /**
44 * Dialog to ask to user to enter their sync passphrase. 44 * Dialog to ask to user to enter their sync passphrase.
45 */ 45 */
46 public class PassphraseDialogFragment extends DialogFragment implements OnClickL istener { 46 public class PassphraseDialogFragment extends DialogFragment implements OnClickL istener {
47 47
48 private static final String TAG = "Sync_UI"; 48 private static final String TAG = "Sync_UI";
49 49
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 mVerifyingTextView.setTextColor(ApiCompatibilityUtils.getColor(getResour ces(), 258 mVerifyingTextView.setTextColor(ApiCompatibilityUtils.getColor(getResour ces(),
259 R.color.input_underline_error_color)); 259 R.color.input_underline_error_color));
260 260
261 mPassphraseEditText.setBackground(mErrorBackground); 261 mPassphraseEditText.setBackground(mErrorBackground);
262 } 262 }
263 263
264 private void resetPassphraseBoxColor() { 264 private void resetPassphraseBoxColor() {
265 mPassphraseEditText.setBackground(mOriginalBackground); 265 mPassphraseEditText.setBackground(mOriginalBackground);
266 } 266 }
267 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698