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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java

Issue 574673003: Move *Picker.java and *PickerDialog.java to ui/android/java/... - Part1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java b/content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java
deleted file mode 100644
index 40f45b9f9f3242f1aea5d23390fb99ee99be3639..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.content.browser.input;
-
-import android.content.Context;
-
-import org.chromium.content.R;
-
-public class MonthPickerDialog extends TwoFieldDatePickerDialog {
-
- /**
- * @param context The context the dialog is to run in.
- * @param callBack How the parent is notified that the date is set.
- * @param year The initial year of the dialog.
- * @param monthOfYear The initial month of the dialog.
- */
- public MonthPickerDialog(Context context, OnValueSetListener callBack,
- int year, int monthOfYear, double minMonth, double maxMonth) {
- super(context, callBack, year, monthOfYear, minMonth, maxMonth);
- setTitle(R.string.month_picker_dialog_title);
- }
-
- @Override
- protected TwoFieldDatePicker createPicker(Context context, double minValue, double maxValue) {
- return new MonthPicker(context, minValue, maxValue);
- }
-
- /**
- * Gets the {@link MonthPicker} contained in this dialog.
- *
- * @return The calendar view.
- */
- public MonthPicker getMonthPicker() {
- return (MonthPicker) mPicker;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698