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

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

Issue 10644002: Add core plumbing for Instant Extended work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address pkasting, tfarina, and remaining nits. Created 8 years, 6 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/ui/search/search_types.h ('k') | chrome/browser/ui/search/search_ui.cc » ('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 (c) 2012 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_BROWSER_UI_SEARCH_SEARCH_UI_H_
6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_
7 #pragma once
8
9 #include "third_party/skia/include/core/SkColor.h"
10
11 namespace gfx {
12 class Rect;
13 class Size;
14 }
15
16 namespace chrome {
17 namespace search {
18
19 // Background color of the NTP.
20 extern const SkColor kNTPBackgroundColor;
21
22 // Color for the separator between results and the page.
23 extern const SkColor kResultsSeparatorColor;
24
25 // Background color for search results.
26 extern const SkColor kSearchBackgroundColor;
27
28 // Y-coordinate of the omnibox when over the page.
29 extern const int kOmniboxYPosition;
30
31 // Initial height of the search results.
32 extern const int kSearchResultsHeight;
33
34 // Get location of NTP omnibox in |web_contents_size|. A height of 0 is
35 // returned, it is platform-specific.
36 gfx::Rect GetNTPOmniboxBounds(const gfx::Size& web_contents_size);
37
38 } // namespace search
39 } // namespace chrome
40
41 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/search/search_types.h ('k') | chrome/browser/ui/search/search_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698