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

Side by Side Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java

Issue 584523003: Create org.chromium.content_public.common and move two classes there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_display_in_shortcuthelper
Patch Set: Created 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.shell; 5 package org.chromium.chrome.shell;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.text.TextUtils; 8 import android.text.TextUtils;
9 9
10 import org.chromium.chrome.browser.Tab; 10 import org.chromium.chrome.browser.Tab;
11 import org.chromium.chrome.browser.UrlUtilities; 11 import org.chromium.chrome.browser.UrlUtilities;
12 import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator; 12 import org.chromium.chrome.browser.contextmenu.ChromeContextMenuPopulator;
13 import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator; 13 import org.chromium.chrome.browser.contextmenu.ContextMenuPopulator;
14 import org.chromium.chrome.browser.infobar.AutoLoginProcessor; 14 import org.chromium.chrome.browser.infobar.AutoLoginProcessor;
15 import org.chromium.content.browser.ContentViewClient; 15 import org.chromium.content.browser.ContentViewClient;
16 import org.chromium.content_public.Referrer;
17 import org.chromium.content_public.browser.LoadUrlParams; 16 import org.chromium.content_public.browser.LoadUrlParams;
18 import org.chromium.content_public.browser.NavigationController; 17 import org.chromium.content_public.browser.NavigationController;
19 import org.chromium.content_public.browser.WebContents; 18 import org.chromium.content_public.browser.WebContents;
19 import org.chromium.content_public.common.Referrer;
20 import org.chromium.ui.base.WindowAndroid; 20 import org.chromium.ui.base.WindowAndroid;
21 21
22 /** 22 /**
23 * ChromeShell's implementation of a tab. This mirrors how Chrome for Android su bclasses 23 * ChromeShell's implementation of a tab. This mirrors how Chrome for Android su bclasses
24 * and extends {@link Tab}. 24 * and extends {@link Tab}.
25 */ 25 */
26 public class ChromeShellTab extends Tab { 26 public class ChromeShellTab extends Tab {
27 // Tab state 27 // Tab state
28 private boolean mIsLoading; 28 private boolean mIsLoading;
29 29
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 public void onLoadStarted() { 117 public void onLoadStarted() {
118 mIsLoading = true; 118 mIsLoading = true;
119 } 119 }
120 120
121 @Override 121 @Override
122 public void onLoadStopped() { 122 public void onLoadStopped() {
123 mIsLoading = false; 123 mIsLoading = false;
124 } 124 }
125 } 125 }
126 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698