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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java b/content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java
deleted file mode 100644
index 50599e11965cfa1f06163535407272401c7eb511..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/JellyBeanContentView.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.content.browser;
-
-import android.content.Context;
-import android.os.Bundle;
-import android.util.AttributeSet;
-import android.view.accessibility.AccessibilityNodeProvider;
-
-import org.chromium.ui.base.WindowAndroid;
-
-/**
- * A version of {@link ContentView} that supports JellyBean features.
- */
-class JellyBeanContentView extends ContentView {
- JellyBeanContentView(Context context, long nativeWebContents, WindowAndroid windowAndroid,
- AttributeSet attrs, int defStyle) {
- super(context, nativeWebContents, windowAndroid, attrs, defStyle);
- }
-
- @Override
- public boolean performAccessibilityAction(int action, Bundle arguments) {
- if (getContentViewCore().supportsAccessibilityAction(action)) {
- return getContentViewCore().performAccessibilityAction(action, arguments);
- }
-
- return super.performAccessibilityAction(action, arguments);
- }
-
- @Override
- public AccessibilityNodeProvider getAccessibilityNodeProvider() {
- AccessibilityNodeProvider provider = getContentViewCore().getAccessibilityNodeProvider();
- if (provider != null) {
- return provider;
- } else {
- return super.getAccessibilityNodeProvider();
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698