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

Side by Side Diff: chrome/common/search_provider.h

Issue 6683066: Remove render_messages_params files since they're not needed anymore. I moved the search provide... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef CHROME_COMMON_SEARCH_PROVIDER_H_
6 #define CHROME_COMMON_SEARCH_PROVIDER_H_
7 #pragma once
8
9 namespace search_provider {
10
11 // The type of OSDD that the renderer is giving to the browser.
12 enum OSDDType {
13 // The Open Search Description URL was detected automatically.
14 AUTODETECTED_PROVIDER,
15
16 // The Open Search Description URL was given by Javascript.
17 EXPLICIT_PROVIDER,
18
19 // The Open Search Description URL was given by Javascript to be the new
20 // default search engine.
21 EXPLICIT_DEFAULT_PROVIDER
22 };
23
24 // The install state of the search provider (not installed, installed, default).
25 enum InstallState {
26 // Equates to an access denied error.
27 DENIED = -1,
28
29 // DON'T CHANGE THE VALUES BELOW.
30 // All of the following values are manidated by the
31 // spec for window.external.IsSearchProviderInstalled.
32
33 // The search provider is not installed.
34 NOT_INSTALLED = 0,
35
36 // The search provider is in the user's set but is not
37 INSTALLED_BUT_NOT_DEFAULT = 1,
38
39 // The search provider is set as the user's default.
40 INSTALLED_AS_DEFAULT = 2
41 };
42
43 } // namespace search_provider
44
45 #endif // CHROME_COMMON_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_params.cc ('k') | chrome/renderer/extensions/extension_process_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698