summaryrefslogtreecommitdiffstats
path: root/toolkit/components/filepicker/nsFileView.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-17 07:31:18 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-17 07:31:18 -0400
commit0bdaa97892ead4977d69382a2bfe8f00a7dbac82 (patch)
tree91a1539a0d5602bab94ca6d2357f63e2ae2839fb /toolkit/components/filepicker/nsFileView.cpp
parente719d7b3be222dfafad78c71761bad2bafb1243d (diff)
downloadUXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar
UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.gz
UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.lz
UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.tar.xz
UXP-0bdaa97892ead4977d69382a2bfe8f00a7dbac82.zip
Restore typeAheadResult support in autocomplete
Diffstat (limited to 'toolkit/components/filepicker/nsFileView.cpp')
-rw-r--r--toolkit/components/filepicker/nsFileView.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolkit/components/filepicker/nsFileView.cpp b/toolkit/components/filepicker/nsFileView.cpp
index ad4471e86..9a8278496 100644
--- a/toolkit/components/filepicker/nsFileView.cpp
+++ b/toolkit/components/filepicker/nsFileView.cpp
@@ -133,6 +133,13 @@ NS_IMETHODIMP nsFileResult::GetMatchCount(uint32_t *aMatchCount)
return NS_OK;
}
+NS_IMETHODIMP nsFileResult::GetTypeAheadResult(bool *aTypeAheadResult)
+{
+ NS_ENSURE_ARG_POINTER(aTypeAheadResult);
+ *aTypeAheadResult = false;
+ return NS_OK;
+}
+
NS_IMETHODIMP nsFileResult::GetValueAt(int32_t index, nsAString & aValue)
{
aValue = mValues[index];