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

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

Issue 2353003004: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.tab; 5 package org.chromium.chrome.browser.tab;
6 6
7 import android.annotation.TargetApi; 7 import android.annotation.TargetApi;
8 import android.app.Activity; 8 import android.app.Activity;
9 import android.app.ActivityManager; 9 import android.app.ActivityManager;
10 import android.content.Context; 10 import android.content.Context;
(...skipping 22 matching lines...) Expand all
33 import org.chromium.chrome.browser.policy.PolicyAuditor; 33 import org.chromium.chrome.browser.policy.PolicyAuditor;
34 import org.chromium.chrome.browser.policy.PolicyAuditor.AuditEvent; 34 import org.chromium.chrome.browser.policy.PolicyAuditor.AuditEvent;
35 import org.chromium.chrome.browser.tabmodel.TabCreatorManager.TabCreator; 35 import org.chromium.chrome.browser.tabmodel.TabCreatorManager.TabCreator;
36 import org.chromium.chrome.browser.tabmodel.TabModel; 36 import org.chromium.chrome.browser.tabmodel.TabModel;
37 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; 37 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType;
38 import org.chromium.chrome.browser.tabmodel.TabModelUtils; 38 import org.chromium.chrome.browser.tabmodel.TabModelUtils;
39 import org.chromium.components.web_contents_delegate_android.WebContentsDelegate Android; 39 import org.chromium.components.web_contents_delegate_android.WebContentsDelegate Android;
40 import org.chromium.content_public.browser.InvalidateTypes; 40 import org.chromium.content_public.browser.InvalidateTypes;
41 import org.chromium.content_public.browser.WebContents; 41 import org.chromium.content_public.browser.WebContents;
42 import org.chromium.content_public.common.ResourceRequestBody; 42 import org.chromium.content_public.common.ResourceRequestBody;
43 import org.chromium.ui.WindowOpenDisposition; 43 import org.chromium.mojom.ui.WindowOpenDisposition;
44 44
45 /** 45 /**
46 * A basic {@link TabWebContentsDelegateAndroid} that forwards some calls to the registered 46 * A basic {@link TabWebContentsDelegateAndroid} that forwards some calls to the registered
47 * {@link TabObserver}s. 47 * {@link TabObserver}s.
48 */ 48 */
49 public class TabWebContentsDelegateAndroid extends WebContentsDelegateAndroid { 49 public class TabWebContentsDelegateAndroid extends WebContentsDelegateAndroid {
50 /** 50 /**
51 * Listener to be notified when a find result is received. 51 * Listener to be notified when a find result is received.
52 */ 52 */
53 public interface FindResultListener { 53 public interface FindResultListener {
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 */ 468 */
469 private boolean isCapturingVideo() { 469 private boolean isCapturingVideo() {
470 return !mTab.isClosing() && nativeIsCapturingVideo(mTab.getWebContents() ); 470 return !mTab.isClosing() && nativeIsCapturingVideo(mTab.getWebContents() );
471 } 471 }
472 472
473 private static native void nativeOnRendererUnresponsive(WebContents webConte nts); 473 private static native void nativeOnRendererUnresponsive(WebContents webConte nts);
474 private static native void nativeOnRendererResponsive(WebContents webContent s); 474 private static native void nativeOnRendererResponsive(WebContents webContent s);
475 private static native boolean nativeIsCapturingAudio(WebContents webContents ); 475 private static native boolean nativeIsCapturingAudio(WebContents webContents );
476 private static native boolean nativeIsCapturingVideo(WebContents webContents ); 476 private static native boolean nativeIsCapturingVideo(WebContents webContents );
477 } 477 }
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | content/browser/frame_host/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698