code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
/**
* Used for handling new tabs (such as occurs when window.open() is called). If this is not
* set, pop... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/NewTabCallback.java | Java | unknown | 1,017 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* @hide
*/
@IntDe... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/NewTabType.java | Java | unknown | 1,446 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
/**
* A container for a... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/ObserverList.java | Java | unknown | 7,321 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
* Used for handling requests to open new tabs that are not associ... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/OpenUrlCallback.java | Java | unknown | 1,116 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import org.chromium.weblayer_private.interfaces.IClientPage;
/**
* This objects tracks the lifetime of a loaded web page. Most of the time the... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/Page.java | Java | unknown | 726 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import androidx.annota... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/PaymentDetailsUpdateServiceWrapper.java | Java | unknown | 2,645 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.net.Uri;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import org.chromium.weblayer_private.interfaces... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/PrerenderController.java | Java | unknown | 2,503 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.RemoteException;
import android.webkit.ValueCallback;
import androidx... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/Profile.java | Java | unknown | 23,571 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.RemoteException;
import android.view.... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/RemoteFragmentEventHandler.java | Java | unknown | 5,992 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Intent;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import org.chromium.weblayer_private.int... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/RemoteMediaService.java | Java | unknown | 1,948 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* @hide
*/
@IntDe... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/ScrollNotificationType.java | Java | unknown | 1,352 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
/**
* Callback notified when the vertical location of the content of a Tab changes. The value reported
* by the callback corresponds to the 's... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/ScrollOffsetCallback.java | Java | unknown | 1,061 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* @hide
*/
@IntDe... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/SettingType.java | Java | unknown | 2,708 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.RemoteException;
import android.util.Pair;
import android.webkit.Value... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/Tab.java | Java | unknown | 33,003 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.net.Uri;
import androidx.annotation.NonNull;
/**
* Informed of interesting events that happen during the lifetime of a Tab.
*... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabCallback.java | Java | unknown | 4,235 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
/**
* An interface for observing events related to tab initialization on startup, either a new tab or
* restoring previous tabs basedon on a p... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabInitializationCallback.java | Java | unknown | 515 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
/**
* An interface for observing changes to the set of tabs in a brow... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabListCallback.java | Java | unknown | 1,248 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException;
import org.chromium.webengine.interfaces.ITabCallback;
... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabManagerDelegate.java | Java | unknown | 2,084 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.net.Uri;
import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException;
import org.chromium.webengine.i... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabNavigationControllerProxy.java | Java | unknown | 2,559 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
import org.chromium.webengine.interfaces.ITabParams;
/**
* Parameters for {@link Tab}.
*/
class TabParam... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabParams.java | Java | unknown | 661 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException;
import org.chromium.web... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/TabProxy.java | Java | unknown | 6,395 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.os.Looper;
import android.util.AndroidRuntimeException;
/* package */ class ThreadCheck {
/* package */ static void ensureOn... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/ThreadCheck.java | Java | unknown | 510 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
/**
* Error thrown if client and implementation versions are not compatible.
*/
class UnsupportedVersionException extends RuntimeException {
... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/UnsupportedVersionException.java | Java | unknown | 694 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.graphics.Bitmap;
import android.webkit.ValueCallback;
import androidx.annotation.NonNull;
/**
* Used to provide details about ... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/UserIdentityCallback.java | Java | unknown | 1,858 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.an... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/VerifiesOnO.java | Java | unknown | 965 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.an... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/VerifiesOnR.java | Java | unknown | 965 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.RemoteException... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebEngineDelegate.java | Java | unknown | 4,462 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
class WebFragmentCreateParams {
private boolean mIncognito;
@N... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentCreateParams.java | Java | unknown | 3,936 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import org.chromium.weblayer_private.interfaces.IRemoteFragment;
/**
* Class to handle events forwarded by WebFragmentEventDelegate.
*/
final... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentEventHandler.java | Java | unknown | 496 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.IBinder;
import android.os.Looper;
i... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentEventsDelegate.java | Java | unknown | 5,699 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import org.chromium.webengine.interfaces.INavigationObserverDelegate;
... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentNavigationDelegate.java | Java | unknown | 2,296 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import org.chromium.webengine.interfaces.INavigationParams;
/**
* This class is a helper class to create {@link INavigationParams}-parcelable.... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentNavigationParams.java | Java | unknown | 728 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentTabDelegate.java | Java | unknown | 1,733 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.chromium.webengine.inte... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebFragmentTabListDelegate.java | Java | unknown | 3,120 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebLayer.java | Java | unknown | 29,573 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.core.content.FileProvider;
/**
* Subclass of FileProvider which prevents conflicts with the embedding application manifest.
*... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebLayerFileProvider.java | Java | unknown | 380 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.annotation.NonNull;
/**
* Used when sending and receiving messages to a page.
*/
class WebMessage {
private final String ... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebMessage.java | Java | unknown | 729 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.Pack... | Zhao-PengFei35/chromium_src_4 | weblayer/public/java/org/chromium/weblayer/WebViewCompatibilityHelper.java | Java | unknown | 4,588 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import androidx.test.filters.SmallTest;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.chromium.b... | Zhao-PengFei35/chromium_src_4 | weblayer/public/javatests/org/chromium/weblayer/ObserverListTest.java | Java | unknown | 10,988 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SmallTest;
import org.junit.Assert;... | Zhao-PengFei35/chromium_src_4 | weblayer/public/javatests/org/chromium/weblayer/WebViewCompatibilityHelperTest.java | Java | unknown | 1,015 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.Intent;
import org.chromium.weblayer_private.interfaces.SettingsIntentHelper;
/**
* He... | Zhao-PengFei35/chromium_src_4 | weblayer/public/javatestutil/org/chromium/weblayer/SettingsTestUtils.java | Java | unknown | 1,363 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
/**
* TestProfile is responsible for forwarding function calls to Profile.
*/
public final class TestProfile {
public static void destroy(... | Zhao-PengFei35/chromium_src_4 | weblayer/public/javatestutil/org/chromium/weblayer/TestProfile.java | Java | unknown | 373 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.IBinder;
import android.os... | Zhao-PengFei35/chromium_src_4 | weblayer/public/javatestutil/org/chromium/weblayer/TestWebLayer.java | Java | unknown | 9,314 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_MAIN_H_
#define WEBLAYER_PUBLIC_MAIN_H_
#include <string>
#include "base/files/file.h"
#include "base/functional/callback_forward.h"
#include "base/me... | Zhao-PengFei35/chromium_src_4 | weblayer/public/main.h | C++ | unknown | 1,200 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_NAVIGATION_H_
#define WEBLAYER_PUBLIC_NAVIGATION_H_
#include <string>
#include <vector>
class GURL;
namespace net {
class HttpResponseHeaders;
}
nam... | Zhao-PengFei35/chromium_src_4 | weblayer/public/navigation.h | C++ | unknown | 8,229 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_NAVIGATION_CONTROLLER_H_
#define WEBLAYER_PUBLIC_NAVIGATION_CONTROLLER_H_
#include <algorithm>
#include <string>
class GURL;
namespace weblayer {
cla... | Zhao-PengFei35/chromium_src_4 | weblayer/public/navigation_controller.h | C++ | unknown | 2,221 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_NAVIGATION_OBSERVER_H_
#define WEBLAYER_PUBLIC_NAVIGATION_OBSERVER_H_
class GURL;
namespace base {
class TimeDelta;
class TimeTicks;
} // namespace b... | Zhao-PengFei35/chromium_src_4 | weblayer/public/navigation_observer.h | C++ | unknown | 5,713 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_NEW_TAB_DELEGATE_H_
#define WEBLAYER_PUBLIC_NEW_TAB_DELEGATE_H_
namespace weblayer {
class Tab;
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.weblayer... | Zhao-PengFei35/chromium_src_4 | weblayer/public/new_tab_delegate.h | C++ | unknown | 1,268 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_PAGE_H_
#define WEBLAYER_PUBLIC_PAGE_H_
namespace weblayer {
// This objects tracks the lifetime of a loaded web page. Most of the time there
// is on... | Zhao-PengFei35/chromium_src_4 | weblayer/public/page.h | C++ | unknown | 762 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_PRERENDER_CONTROLLER_H_
#define WEBLAYER_PUBLIC_PRERENDER_CONTROLLER_H_
class GURL;
namespace weblayer {
// PrerenderController enables prerendering ... | Zhao-PengFei35/chromium_src_4 | weblayer/public/prerender_controller.h | C++ | unknown | 984 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_PROFILE_H_
#define WEBLAYER_PUBLIC_PROFILE_H_
#include <memory>
#include <string>
#include "base/containers/flat_set.h"
#include "base/functional/call... | Zhao-PengFei35/chromium_src_4 | weblayer/public/profile.h | C++ | unknown | 4,817 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_TAB_H_
#define WEBLAYER_PUBLIC_TAB_H_
#include <algorithm>
#include <map>
#include <string>
#include <vector>
#include "base/functional/callback_forwa... | Zhao-PengFei35/chromium_src_4 | weblayer/public/tab.h | C++ | unknown | 4,799 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_PUBLIC_TAB_OBSERVER_H_
#define WEBLAYER_PUBLIC_TAB_OBSERVER_H_
#include <string>
class GURL;
namespace weblayer {
class TabObserver {
public:
// The UR... | Zhao-PengFei35/chromium_src_4 | weblayer/public/tab_observer.h | C++ | unknown | 867 |
include_rules = [
"+components/android_system_error_page",
"+components/autofill/content/renderer",
"+components/cdm/renderer",
"+components/content_capture/common",
"+components/content_capture/renderer",
"+components/content_settings/common",
"+components/content_settings/renderer",
"+components/error... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/DEPS | Python | unknown | 1,335 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/renderer/content_renderer_client_impl.h"
#include "base/feature_list.h"
#include "build/build_config.h"
#include "components/autofill/content/renderer/autof... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/content_renderer_client_impl.cc | C++ | unknown | 10,567 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_RENDERER_CONTENT_RENDERER_CLIENT_IMPL_H_
#define WEBLAYER_RENDERER_CONTENT_RENDERER_CLIENT_IMPL_H_
#include "build/build_config.h"
#include "content/public/co... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/content_renderer_client_impl.h | C++ | unknown | 2,922 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/renderer/error_page_helper.h"
#include "base/command_line.h"
#include "components/security_interstitials/content/renderer/security_interstitial_page_control... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/error_page_helper.cc | C++ | unknown | 2,363 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_RENDERER_ERROR_PAGE_HELPER_H_
#define WEBLAYER_RENDERER_ERROR_PAGE_HELPER_H_
#include "content/public/renderer/render_frame_observer.h"
#include "content/publ... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/error_page_helper.h | C++ | unknown | 2,857 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/renderer/url_loader_throttle_provider.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "components/no_state_prefetch/renderer/no_state_prefe... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/url_loader_throttle_provider.cc | C++ | unknown | 2,711 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_RENDERER_URL_LOADER_THROTTLE_PROVIDER_H_
#define WEBLAYER_RENDERER_URL_LOADER_THROTTLE_PROVIDER_H_
#include "base/threading/thread_checker.h"
#include "compon... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/url_loader_throttle_provider.h | C++ | unknown | 1,999 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/renderer/weblayer_render_frame_observer.h"
#include "content/public/renderer/render_frame.h"
#include "base/metrics/histogram_macros.h"
#include "base/time... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/weblayer_render_frame_observer.cc | C++ | unknown | 5,926 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_RENDERER_WEBLAYER_RENDER_FRAME_OBSERVER_H_
#define WEBLAYER_RENDERER_WEBLAYER_RENDER_FRAME_OBSERVER_H_
#include "components/safe_browsing/buildflags.h"
#inclu... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/weblayer_render_frame_observer.h | C++ | unknown | 2,196 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/renderer/weblayer_render_thread_observer.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_registry.h"
namespace webl... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/weblayer_render_thread_observer.cc | C++ | unknown | 1,588 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_RENDERER_WEBLAYER_RENDER_THREAD_OBSERVER_H_
#define WEBLAYER_RENDERER_WEBLAYER_RENDER_THREAD_OBSERVER_H_
#include "components/content_settings/common/content_... | Zhao-PengFei35/chromium_src_4 | weblayer/renderer/weblayer_render_thread_observer.h | C++ | unknown | 1,915 |
include_rules = [
"+net",
"+ui/aura",
"+ui/base",
"+ui/color",
"+ui/display",
"+ui/events",
"+ui/gfx",
"+ui/native_theme",
"+ui/views",
"+ui/wm",
]
| Zhao-PengFei35/chromium_src_4 | weblayer/shell/DEPS | Python | unknown | 168 |
include_rules = [
"+components/embedder_support",
"+components/metrics",
"+components/translate/content/android",
"+content/public/android",
"+content/public/app",
"+content/public/test",
"+ui/android",
]
| Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/DEPS | Python | unknown | 219 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_browsertests_apk;
import android.view.View;
import android.widget.LinearLayout;
import org.chromium.base.test.util.UrlUtils;
import org.chromium... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_browsertests_apk/WebLayerBrowserTestsActivity.java | Java | unknown | 2,662 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_browsertests_apk;
import android.content.Context;
import org.chromium.base.ContextUtils;
import org.chromium.base.PathUtils;
import org.chromium... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_browsertests_apk/WebLayerBrowserTestsApplication.java | Java | unknown | 1,311 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
/**
* Bridge for setup of Acce... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_private/AccessTokenFetchTestBridge.java | Java | unknown | 993 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import android.webkit.ValueCallback;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINames... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_private/GoogleAccountAccessTokenFetcherTestStub.java | Java | unknown | 3,063 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import android.content.Context;
import android.text.TextUtils;
import org.chromium.base.Callback;
import org.chromium.base.ContextUtils... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_private/MetricsTestHelper.java | Java | unknown | 3,458 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.components.t... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/src/org/chromium/weblayer_private/TranslateTestBridge.java | Java | unknown | 1,352 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/shell/android/browsertests_apk/translate_test_bridge.h"
#include "base/android/jni_android.h"
#include "weblayer/test/weblayer_browsertests_jni/TranslateTes... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/translate_test_bridge.cc | C++ | unknown | 1,345 |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_SHELL_ANDROID_BROWSERTESTS_APK_TRANSLATE_TEST_BRIDGE_H_
#define WEBLAYER_SHELL_ANDROID_BROWSERTESTS_APK_TRANSLATE_TEST_BRIDGE_H_
#include "weblayer/browser/tr... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/translate_test_bridge.h | C++ | unknown | 1,308 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/android/jni_android.h"
#include "base/android/library_loader/library_loader_hooks.h"
#include "base/functional/bind.h"
#include "base/message_... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/browsertests_apk/weblayer_browser_tests_jni_onload.cc | C++ | unknown | 1,333 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell;
import android.graphics.Bitmap;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.chromium.base.Log;
... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/DefaultObservers.java | Java | unknown | 4,010 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.vi... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/WebEngineNavigationTestActivity.java | Java | unknown | 5,335 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
im... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/WebEngineShellActivity.java | Java | unknown | 19,051 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell;
import android.app.Application;
import androidx.core.content.ContextCompat;
import com.google.common.base.Function;
import com.google.c... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/WebEngineShellApplication.java | Java | unknown | 2,487 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/WebEngineStateTestActivity.java | Java | unknown | 12,165 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell.topbar;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.Spinner;
/**
* A Spinner wrapper monitor... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/topbar/CustomSpinner.java | Java | unknown | 941 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell.topbar;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.chromium.webengine.Navigation;
import org.chr... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/topbar/TabEventsDelegate.java | Java | unknown | 3,656 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.webengine.shell.topbar;
import org.chromium.webengine.Tab;
/**
* An interface for setting values in the Top Bar.
*/
public interface TabEventsObserver ... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/android/webengine_shell_apk/src/org/chromium/webengine/shell/topbar/TabEventsObserver.java | Java | unknown | 525 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_SHELL_APP_RESOURCE_H_
#define WEBLAYER_SHELL_APP_RESOURCE_H_
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by shell.rc
//
#de... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/app/resource.h | C | unknown | 1,060 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "build/build_config.h"
#include "weblayer/public/main.h"
#include "weblayer/shell/app/shell_main_params.h"
#if BUILDFLAG(IS_WIN)
#if defined(WIN_CONSOLE_APP)
int mai... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/app/shell_main.cc | C++ | unknown | 678 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/shell/app/shell_main_params.h"
#include "base/command_line.h"
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/app/shell_main_params.cc | C++ | unknown | 3,002 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_SHELL_APP_SHELL_MAIN_PARAMS_H_
#define WEBLAYER_SHELL_APP_SHELL_MAIN_PARAMS_H_
namespace weblayer {
struct MainParams;
MainParams CreateMainParams();
} // ... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/app/shell_main_params.h | C++ | unknown | 391 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/shell/browser/shell.h"
#include <stddef.h>
#include <string>
#include <utility>
#include "base/command_line.h"
#include "base/no_destructor.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/browser/shell.cc | C++ | unknown | 6,786 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_SHELL_BROWSER_SHELL_H_
#define WEBLAYER_SHELL_BROWSER_SHELL_H_
#include <stdint.h>
#include <memory>
#include <string>
#include <vector>
#include "base/func... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/browser/shell.h | C++ | unknown | 5,657 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/shell/browser/shell.h"
namespace weblayer {
// Shell is only used on Android for weblayer_browsertests. So no need to
// implement these methods.
void Shel... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/browser/shell_android.cc | C++ | unknown | 890 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <memory>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/stringprintf.h"... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/browser/shell_views.cc | C++ | unknown | 15,049 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "weblayer/shell/common/shell_switches.h"
namespace weblayer {
namespace switches {
// Stops new Shell objects from navigating to a default url.
const char kNoInitial... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/common/shell_switches.cc | C++ | unknown | 524 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBLAYER_SHELL_COMMON_SHELL_SWITCHES_H_
#define WEBLAYER_SHELL_COMMON_SHELL_SWITCHES_H_
namespace weblayer {
namespace switches {
extern const char kNoInitialNavigati... | Zhao-PengFei35/chromium_src_4 | weblayer/shell/common/shell_switches.h | C++ | unknown | 470 |
include_rules = [
"+components/android_autofill/browser",
"+components/autofill/core/browser",
"+components/browsing_data/content",
"+components/embedder_support",
"+components/heavy_ad_intervention",
"+components/security_interstitials",
"+components/subresource_filter/content/browser",
"+components/su... | Zhao-PengFei35/chromium_src_4 | weblayer/test/DEPS | Python | unknown | 576 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/test/launcher/test_launcher.h"
#include "build/build_config.h"
#include "content/public/common/content_switches.h"
#include "conte... | Zhao-PengFei35/chromium_src_4 | weblayer/test/browsertests_main.cc | C++ | unknown | 1,454 |
<html>
<body onclick="window.alert('tab modal overlay');">
<p id='x'>XXXX</p>
</body>
</html>
| Zhao-PengFei35/chromium_src_4 | weblayer/test/data/alert.html | HTML | unknown | 102 |
<html>
<body>
<video id="vid" controls autoplay>
<source src="bear.webm" type="video/mp4">
</video>
</body>
</html>
| Zhao-PengFei35/chromium_src_4 | weblayer/test/data/autoplay.html | HTML | unknown | 118 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>A page</title>
<script src="main.js"></script>
</head>
<body>
Hello world.
</body>
</html>
| Zhao-PengFei35/chromium_src_4 | weblayer/test/data/background_fetch/index.html | HTML | unknown | 177 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const kBackgroundFetchId = 'bg-fetch-id';
const kBackgroundFetchResource =
['/weblayer/test/data/background_fetch/types_of_cheese.txt'];
function RegisterServiceWorker() {... | Zhao-PengFei35/chromium_src_4 | weblayer/test/data/background_fetch/main.js | JavaScript | unknown | 1,074 |
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Another page</title>
</head>
</html>
| Zhao-PengFei35/chromium_src_4 | weblayer/test/data/background_fetch/new_page.html | HTML | unknown | 111 |