| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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; | 5 package org.chromium.chrome.browser; |
| 6 | 6 |
| 7 import android.app.Notification; | 7 import android.app.Notification; |
| 8 import android.content.Intent; | 8 import android.content.Intent; |
| 9 import android.os.Handler; | 9 import android.os.Handler; |
| 10 import android.os.Looper; | 10 import android.os.Looper; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 callback.onSchoolCheckDone(false); | 71 callback.onSchoolCheckDone(false); |
| 72 } | 72 } |
| 73 }); | 73 }); |
| 74 } | 74 } |
| 75 | 75 |
| 76 /** | 76 /** |
| 77 * Creates a new {@link AccountManagerDelegate}. | 77 * Creates a new {@link AccountManagerDelegate}. |
| 78 * @return the created {@link AccountManagerDelegate}. | 78 * @return the created {@link AccountManagerDelegate}. |
| 79 */ | 79 */ |
| 80 public AccountManagerDelegate createAccountManagerDelegate() { | 80 public AccountManagerDelegate createAccountManagerDelegate() { |
| 81 return new SystemAccountManagerDelegate(ContextUtils.getApplicationConte
xt()); | 81 return new SystemAccountManagerDelegate(); |
| 82 } | 82 } |
| 83 | 83 |
| 84 /** | 84 /** |
| 85 * @return An instance of AppDetailsDelegate that can be queried about app i
nformation for the | 85 * @return An instance of AppDetailsDelegate that can be queried about app i
nformation for the |
| 86 * App Banner feature. Will be null if one is unavailable. | 86 * App Banner feature. Will be null if one is unavailable. |
| 87 */ | 87 */ |
| 88 public AppDetailsDelegate createAppDetailsDelegate() { | 88 public AppDetailsDelegate createAppDetailsDelegate() { |
| 89 return null; | 89 return null; |
| 90 } | 90 } |
| 91 | 91 |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 /** | 282 /** |
| 283 * @return Whether the renderer should detect whether video elements are in
fullscreen. The | 283 * @return Whether the renderer should detect whether video elements are in
fullscreen. The |
| 284 * detection results can be retrieved through | 284 * detection results can be retrieved through |
| 285 * {@link WebContents.hasActiveEffectivelyFullscreenVideo()}. | 285 * {@link WebContents.hasActiveEffectivelyFullscreenVideo()}. |
| 286 */ | 286 */ |
| 287 @CalledByNative | 287 @CalledByNative |
| 288 public boolean shouldDetectVideoFullscreen() { | 288 public boolean shouldDetectVideoFullscreen() { |
| 289 return false; | 289 return false; |
| 290 } | 290 } |
| 291 } | 291 } |
| OLD | NEW |