Add support for distilling current WebContents
commitd289bd7f55ca3d3f647a0a2c6049115e0125b5df
authornyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 01:24:12 +0000 (28 01:24 +0000)
committernyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 May 2014 01:24:12 +0000 (28 01:24 +0000)
tree87d1b6c64b2d775a5bf07fed9cb2e1fed94a76b1
parentd2b20dd909486a7c78a76ddf0d0d13410c969ffe
Add support for distilling current WebContents

This CL adds the utilities needed for using the current WebContents when
distilling web pages.

BUG=361939

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272611

Review URL: https://codereview.chromium.org/266073003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273101 0039d316-1c4b-4281-b951-d872f2087c98
24 files changed:
chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/DomDistillerTabUtils.java [new file with mode: 0644]
chrome/browser/android/chrome_jni_registrar.cc
chrome/browser/dom_distiller/lazy_dom_distiller_service.cc
chrome/browser/dom_distiller/lazy_dom_distiller_service.h
chrome/browser/dom_distiller/tab_utils.cc [new file with mode: 0644]
chrome/browser/dom_distiller/tab_utils.h [new file with mode: 0644]
chrome/browser/dom_distiller/tab_utils_android.cc [new file with mode: 0644]
chrome/browser/dom_distiller/tab_utils_android.h [new file with mode: 0644]
chrome/browser/dom_distiller/tab_utils_browsertest.cc [new file with mode: 0644]
chrome/browser/ui/tab_helpers.cc
chrome/chrome_browser.gypi
chrome/chrome_tests.gypi
chrome/test/data/dom_distiller/simple_article.html [new file with mode: 0644]
components/dom_distiller.gypi
components/dom_distiller/content/distiller_page_web_contents.cc
components/dom_distiller/content/distiller_page_web_contents.h
components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
components/dom_distiller/content/web_contents_main_frame_observer.cc [new file with mode: 0644]
components/dom_distiller/content/web_contents_main_frame_observer.h [new file with mode: 0644]
components/dom_distiller/core/distiller_page.h
components/dom_distiller/core/dom_distiller_service.cc
components/dom_distiller/core/dom_distiller_service.h
components/dom_distiller/core/fake_distiller_page.h
components/dom_distiller/core/viewer_unittest.cc