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

Unified Diff: ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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: ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java
diff --git a/ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java b/ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java
deleted file mode 100644
index e769c1a25c472d08222d938095e2ba101c375a67..0000000000000000000000000000000000000000
--- a/ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2013 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.ui.picker;
-
-import android.content.Context;
-
-import org.chromium.ui.R;
-
-public class WeekPickerDialog 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 weekOfYear The initial week of the dialog.
- */
- public WeekPickerDialog(Context context,
- OnValueSetListener callBack,
- int year, int weekOfYear,
- double minValue, double maxValue) {
- this(context, 0, callBack, year, weekOfYear, minValue, maxValue);
- }
-
- /**
- * @param context The context the dialog is to run in.
- * @param theme the theme to apply to this dialog
- * @param callBack How the parent is notified that the date is set.
- * @param year The initial year of the dialog.
- * @param weekOfYear The initial week of the dialog.
- */
- public WeekPickerDialog(Context context,
- int theme,
- OnValueSetListener callBack,
- int year,
- int weekOfYear,
- double minValue, double maxValue) {
- super(context, theme, callBack, year, weekOfYear, minValue, maxValue);
- setTitle(R.string.week_picker_dialog_title);
- }
-
- @Override
- protected TwoFieldDatePicker createPicker(Context context, double minValue, double maxValue) {
- return new WeekPicker(context, minValue, maxValue);
- }
-
- /**
- * Gets the {@link WeekPicker} contained in this dialog.
- *
- * @return The calendar view.
- */
- public WeekPicker getWeekPicker() {
- return (WeekPicker) mPicker;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698