Revert "Revert of Refactor get_salient_image_url.js to use DocumentImageExtractor"
commitcaf0eb7531ff4e54c74a9d7db47e7ad033d99f44
authortwellington <twellington@chromium.org>
Mon, 1 Jun 2015 16:19:50 +0000 (1 09:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Jun 2015 16:21:06 +0000 (1 16:21 +0000)
tree35bf31e4b0c6a188eca249b90555c3a11fce2e79
parentffed636ab91099ac6893549a080a2cd64bf7861d
Revert "Revert of Refactor get_salient_image_url.js to use DocumentImageExtractor"

This reverts commit 848594a8fd844879fede9f8663d279b1bfac8253. The initial CL was reverted because the Android GN build was failing to compile. GN files have been added.

Refactor get_salient_image_url.js to use the DocumentImageExtractor.
Move get_salient_image_url.js into components so it accessible for
iOS as well.

BUG=454623

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

Cr-Commit-Position: refs/heads/master@{#332203}
19 files changed:
chrome/BUILD.gn
chrome/browser/BUILD.gn
chrome/browser/browser_resources.grd
chrome/browser/enhanced_bookmarks/android/DEPS
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc
chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.h
chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc
chrome/browser/resources/get_salient_image_url.js [deleted file]
chrome/chrome_browser.gypi
chrome/chrome_repack_resources.gypi
components/resources/enhanced_bookmarks/BUILD.gn [new file with mode: 0644]
components/resources/enhanced_bookmarks/OWNERS [new file with mode: 0644]
components/resources/enhanced_bookmarks/dom_initializer.js [new file with mode: 0644]
components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi [new file with mode: 0644]
components/resources/enhanced_bookmarks/enhanced_bookmarks_resources.grd [new file with mode: 0644]
components/resources/enhanced_bookmarks/enhanced_bookmarks_resources.gyp [new file with mode: 0644]
components/resources/enhanced_bookmarks/get_salient_image_url.js [new file with mode: 0644]
third_party/document_image_extractor/document_image_extractor.gni [new file with mode: 0644]
tools/gritsettings/resource_ids