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

Side by Side Diff: chrome/browser/search/search.h

Issue 14497003: Moves TabNavigation into components/sessions and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really remove webkit_support Created 7 years, 7 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
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SEARCH_SEARCH_H_ 5 #ifndef CHROME_BROWSER_SEARCH_SEARCH_H_
6 #define CHROME_BROWSER_SEARCH_SEARCH_H_ 6 #define CHROME_BROWSER_SEARCH_SEARCH_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 14
15 class GURL; 15 class GURL;
16 class PrefRegistrySyncable; 16 class PrefRegistrySyncable;
17 class Profile; 17 class Profile;
18 class TemplateURL; 18 class TemplateURL;
19 class TemplateURLRef; 19 class TemplateURLRef;
20 20
21 namespace content { 21 namespace content {
22 class NavigationEntry; 22 class NavigationEntry;
23 class WebContents; 23 class WebContents;
24 } 24 }
25 25
26 namespace chrome { 26 namespace chrome {
27 27
28 // The key used to store search terms data in the NavigationEntry to be later
29 // displayed in the omnibox. With the context of the user's exact query,
30 // InstantController sets the correct search terms to be displayed.
31 extern const char kInstantExtendedSearchTermsKey[];
32
33 // Use this value for "start margin" to prevent the "es_sm" parameter from 28 // Use this value for "start margin" to prevent the "es_sm" parameter from
34 // being used. 29 // being used.
35 extern const int kDisableStartMargin; 30 extern const int kDisableStartMargin;
36 31
37 // Returns whether the Instant Extended API is enabled. 32 // Returns whether the Instant Extended API is enabled.
38 bool IsInstantExtendedAPIEnabled(); 33 bool IsInstantExtendedAPIEnabled();
39 34
40 // Returns the value to pass to the &espv CGI parameter when loading the 35 // Returns the value to pass to the &espv CGI parameter when loading the
41 // embedded search page from the user's default search provider. Will be 36 // embedded search page from the user's default search provider. Will be
42 // 0 if the Instant Extended API is not enabled, or if the local-only Instant 37 // 0 if the Instant Extended API is not enabled, or if the local-only Instant
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 GURL CoerceCommandLineURLToTemplateURL(const GURL& instant_url, 162 GURL CoerceCommandLineURLToTemplateURL(const GURL& instant_url,
168 const TemplateURLRef& ref, 163 const TemplateURLRef& ref,
169 int start_margin); 164 int start_margin);
170 165
171 // Returns true if |my_url| matches |other_url|. 166 // Returns true if |my_url| matches |other_url|.
172 bool MatchesOriginAndPath(const GURL& my_url, const GURL& other_url); 167 bool MatchesOriginAndPath(const GURL& my_url, const GURL& other_url);
173 168
174 } // namespace chrome 169 } // namespace chrome
175 170
176 #endif // CHROME_BROWSER_SEARCH_SEARCH_H_ 171 #endif // CHROME_BROWSER_SEARCH_SEARCH_H_
OLDNEW
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698