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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/photo_picker/DefaultAcceptFileFilter.java

Issue 2758313002: Implement the new Photo picker, part two. (Closed)
Patch Set: Trim changelist Created 3 years, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.chrome.browser.photo_picker;
6
7 import android.support.annotation.NonNull;
8
9 import java.io.File;
10
11 class DefaultAcceptFileFilter extends AcceptFileFilter {
Theresa 2017/03/31 18:05:55 I'm not seeing the AcceptFileFilter base class --
Finnur 2017/04/03 17:30:29 Yes, this became redundant in a previous simplific
12 @Override
13 public boolean accept(@NonNull File file) {
14 return true;
15 }
16
17 @Override
18 public boolean acceptsImages() {
19 return true;
20 }
21
22 @Override
23 public boolean acceptsVideos() {
24 return true;
25 }
26
27 @Override
28 public boolean acceptsOther() {
29 return true;
30 }
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698