Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1527)

Unified Diff: chrome/common/search_provider.mojom

Issue 2177123003: Move SearchProvider implementation into Blink and make it a no-op. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/search_provider.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/search_provider.mojom
diff --git a/chrome/common/search_provider.mojom b/chrome/common/search_provider.mojom
deleted file mode 100644
index b3c155d1b4957b2fa20b2f6808f493eb3439115d..0000000000000000000000000000000000000000
--- a/chrome/common/search_provider.mojom
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module chrome.mojom;
-
-import "url/mojo/url.mojom";
-
-// The install state of the search provider (not installed, installed, default).
-enum InstallState {
- // Equates to an access denied error.
- DENIED = -1,
-
- // DON'T CHANGE THE VALUES BELOW.
- // All of the following values are manidated by the
- // spec for window.external.IsSearchProviderInstalled.
-
- // The search provider is not installed.
- NOT_INSTALLED = 0,
-
- // The search provider is in the user's set but is not
- INSTALLED_BUT_NOT_DEFAULT = 1,
-
- // The search provider is set as the user's default.
- INSTALLED_AS_DEFAULT = 2
-};
-
-interface SearchProviderInstallState {
- // Find out if the given url's security origin is installed as a search
- // provider. The |page_url| is the requesting page and the |inquiry_url| is
- // the search provider (e.g. www.google.com), expressed as a security origin
- // URL.
- [Sync]
- GetInstallState(
- url.mojom.Url page_url,
- url.mojom.Url inquiry_url) => (InstallState install);
-};
« no previous file with comments | « chrome/common/search_provider.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698