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

Unified Diff: trunk/src/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java

Issue 297163003: Revert 272611 "Add support for distilling current WebContents" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | trunk/src/chrome/browser/android/chrome_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java
===================================================================
--- trunk/src/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java (revision 272703)
+++ trunk/src/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java (working copy)
@@ -1,31 +0,0 @@
-// Copyright 2014 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.chrome.browser.dom_distiller;
-
-import org.chromium.base.JNINamespace;
-import org.chromium.content_public.browser.WebContents;
-
-/**
- * A helper class for using the DOM Distiller.
- */
-@JNINamespace("android")
-public class DomDistillerTabUtils {
-
- private DomDistillerTabUtils() {
- }
-
- /**
- * Creates a new WebContents and navigates the {@link WebContents} to view the URL of the
- * current page, while in the background starts distilling the current page. This method takes
- * ownership over the old WebContents after swapping in the new one.
- *
- * @param webContents the WebContents to distill.
- */
- public static void distillCurrentPageAndView(WebContents webContents) {
- nativeDistillCurrentPageAndView(webContents);
- }
-
- private static native void nativeDistillCurrentPageAndView(WebContents webContents);
-}
« no previous file with comments | « no previous file | trunk/src/chrome/browser/android/chrome_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698