Bug 1642300 - Remove unused c++ defines in nsISearchService.idl. r=daleharvey
authorMark Banner <standard8@mozilla.com>
Thu, 04 Jun 2020 22:28:35 +0000
changeset 534108 fdbacdb44aa43bdba437a9cb8f27d16ab2c8b64a
parent 534107 46f8cd8f4972cc9d6051e48edeb3d0dfc424aeaa
child 534109 731578a5ef95b122e952d588889705a3301bef22
push id118143
push usermbanner@mozilla.com
push dateFri, 05 Jun 2020 09:13:40 +0000
treeherderautoland@731578a5ef95 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaleharvey
bugs1642300
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1642300 - Remove unused c++ defines in nsISearchService.idl. r=daleharvey Differential Revision: https://phabricator.services.mozilla.com/D77653
toolkit/components/search/nsISearchService.idl
--- a/toolkit/components/search/nsISearchService.idl
+++ b/toolkit/components/search/nsISearchService.idl
@@ -515,47 +515,8 @@ interface nsISearchService : nsISupports
    * string, but other parameters are ignored.
    *
    * @param url
    *        String containing the URL to parse, for example
    *        "https://www.google.com/search?q=terms".
    */
   nsISearchParseSubmissionResult parseSubmissionURL(in AString url);
 };
-
-%{ C++
-/**
- * The observer topic to listen to for actions performed on installed
- * search engines.
- */
-#define SEARCH_ENGINE_TOPIC "browser-search-engine-modified"
-
-/**
- * Sent when an engine is removed from the data store.
- */
-#define SEARCH_ENGINE_REMOVED      "engine-removed"
-
-/**
- * Sent when an engine is changed. This includes when the engine's "hidden"
- * property is changed.
- */
-#define SEARCH_ENGINE_CHANGED      "engine-changed"
-
-/**
- * Sent when an engine is added to the list of available engines.
- */
-#define SEARCH_ENGINE_ADDED        "engine-added"
-
-/**
- * Sent when a search engine being installed from a remote plugin description
- * file is completely loaded. This is used internally by the search service as
- * an indication of when the engine can be added to the internal store, and
- * therefore should not be used to detect engine availability. It is always
- * followed by an "added" notification.
- */
-#define SEARCH_ENGINE_LOADED       "engine-loaded"
-
-/**
- * Sent when the "default" engine is changed.
- */
-#define SEARCH_ENGINE_DEFAULT      "engine-default";
-
-%}