summaryrefslogtreecommitdiffstats
path: root/components/components.gyp
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-08-11 03:46:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-11 10:47:18 +0000
commit70948d68e3925e415e29d74230c4c0b39fbf31a4 (patch)
treef8256193710c9b45488dcd8ef381c430890a8ba0 /components/components.gyp
parente5ec88b0b79ff67af77f33f3bda62f296a899fb5 (diff)
downloadchromium_src-70948d68e3925e415e29d74230c4c0b39fbf31a4.zip
chromium_src-70948d68e3925e415e29d74230c4c0b39fbf31a4.tar.gz
chromium_src-70948d68e3925e415e29d74230c4c0b39fbf31a4.tar.bz2
Move ClipboardURLProvider into //components/omnibox.
Move ClipboardURLProvider with the other AutocompleteProvider into //components/omnibox to simplify the construction of the provider and break circular dependency of open_from_clipboard and omnibox components. Introduce a new AutocompleteProvider::Type for this new provider (AutocompleteProvider::TYPE_CLIPBOARD_URL) with the corresponding value in OmniboxEventProto enumeration. Pass the AutocompleteProviderClient to the ClipboardURLProvider and remove another layer of indirection for the construction of the AutocompleteMatch. Add AutocompleteProvider::TYPE_CLIPBOARD_URL to the default list of providers and construct, if ClipboardRecentContent singleton exists (currently only implemented on iOS), a ClipboardURLProvider. Add unit tests for ClipboardURLProvider. BUG=517134,517017,514225 Review URL: https://codereview.chromium.org/1273013002 Cr-Commit-Position: refs/heads/master@{#342806}
Diffstat (limited to 'components/components.gyp')
-rw-r--r--components/components.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/components.gyp b/components/components.gyp
index e618f9c..246ebca 100644
--- a/components/components.gyp
+++ b/components/components.gyp
@@ -47,6 +47,7 @@
'offline_pages.gypi',
'omnibox.gypi',
'onc.gypi',
+ 'open_from_clipboard.gypi',
'os_crypt.gypi',
'ownership.gypi',
'packed_ct_ev_whitelist.gypi',
@@ -110,7 +111,6 @@
}],
['OS == "ios"', {
'includes': [
- 'open_from_clipboard.gypi',
'webp_transcode.gypi',
],
}],