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

Side by Side Diff: chrome/common/search/search_types.h

Issue 2122903002: Move search-related files from chrome/common to chrome/common/search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move search-related files 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 unified diff | Download patch
« no previous file with comments | « chrome/common/search/ntp_logging_events.h ('k') | chrome/common/search/search_urls.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_COMMON_SEARCH_TYPES_H_ 5 #ifndef CHROME_COMMON_SEARCH_SEARCH_TYPES_H_
6 #define CHROME_COMMON_SEARCH_TYPES_H_ 6 #define CHROME_COMMON_SEARCH_SEARCH_TYPES_H_
7 7
8 // The Mode structure encodes the visual states encountered when interacting 8 // The Mode structure encodes the visual states encountered when interacting
9 // with the NTP and the Omnibox. 9 // with the NTP and the Omnibox.
10 struct SearchMode { 10 struct SearchMode {
11 // The visual state that applies to the current interaction. 11 // The visual state that applies to the current interaction.
12 enum Type { 12 enum Type {
13 // The default state means anything but the following states. 13 // The default state means anything but the following states.
14 MODE_DEFAULT, 14 MODE_DEFAULT,
15 15
16 // On the NTP page and the NTP is ready to be displayed. 16 // On the NTP page and the NTP is ready to be displayed.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 bool is_origin_ntp() const { 82 bool is_origin_ntp() const {
83 return origin == ORIGIN_NTP; 83 return origin == ORIGIN_NTP;
84 } 84 }
85 85
86 Type mode; 86 Type mode;
87 Origin origin; 87 Origin origin;
88 }; 88 };
89 89
90 #endif // CHROME_COMMON_SEARCH_TYPES_H_ 90 #endif // CHROME_COMMON_SEARCH_SEARCH_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/common/search/ntp_logging_events.h ('k') | chrome/common/search/search_urls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698