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

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

Issue 2784353002: Android: Remove GetApplicationContext part 2 (Closed)
Patch Set: Fix tests 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
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
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
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 }
OLDNEW
« no previous file with comments | « base/test/test_file_util_android.cc ('k') | chrome/android/java/src/org/chromium/chrome/browser/BackgroundSyncLauncher.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698