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

Side by Side 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, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/common/search_provider.h ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module chrome.mojom;
6
7 import "url/mojo/url.mojom";
8
9 // The install state of the search provider (not installed, installed, default).
10 enum InstallState {
11 // Equates to an access denied error.
12 DENIED = -1,
13
14 // DON'T CHANGE THE VALUES BELOW.
15 // All of the following values are manidated by the
16 // spec for window.external.IsSearchProviderInstalled.
17
18 // The search provider is not installed.
19 NOT_INSTALLED = 0,
20
21 // The search provider is in the user's set but is not
22 INSTALLED_BUT_NOT_DEFAULT = 1,
23
24 // The search provider is set as the user's default.
25 INSTALLED_AS_DEFAULT = 2
26 };
27
28 interface SearchProviderInstallState {
29 // Find out if the given url's security origin is installed as a search
30 // provider. The |page_url| is the requesting page and the |inquiry_url| is
31 // the search provider (e.g. www.google.com), expressed as a security origin
32 // URL.
33 [Sync]
34 GetInstallState(
35 url.mojom.Url page_url,
36 url.mojom.Url inquiry_url) => (InstallState install);
37 };
OLDNEW
« 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