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

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

Issue 13375003: Fixing iframe jank in the local omnibox popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual Created 7 years, 8 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/chrome_tests_unit.gypi ('k') | chrome/common/instant_types.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_COMMON_INSTANT_TYPES_H_ 5 #ifndef CHROME_COMMON_INSTANT_TYPES_H_
6 #define CHROME_COMMON_INSTANT_TYPES_H_ 6 #define CHROME_COMMON_INSTANT_TYPES_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // The title of the Most Visited page. May be empty, in which case the |url| 165 // The title of the Most Visited page. May be empty, in which case the |url|
166 // is used as the title. 166 // is used as the title.
167 string16 title; 167 string16 title;
168 }; 168 };
169 169
170 // An InstantMostVisitedItem along with its assigned restricted ID. 170 // An InstantMostVisitedItem along with its assigned restricted ID.
171 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem> 171 typedef std::pair<InstantRestrictedID, InstantMostVisitedItem>
172 InstantMostVisitedItemIDPair; 172 InstantMostVisitedItemIDPair;
173 173
174 // The style of dropdown results that can be set by the Instant page.
175 struct InstantAutocompleteResultStyle {
176 InstantAutocompleteResultStyle();
177 ~InstantAutocompleteResultStyle();
178
179 // The displayed result has the URL and an optional title.
180 int url_color;
181 int title_color;
182 };
183
184 #endif // CHROME_COMMON_INSTANT_TYPES_H_ 174 #endif // CHROME_COMMON_INSTANT_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/instant_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698