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

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: Removed UI stuff from SearchModel 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
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 #include "ui/gfx/rect.h"
sky 2012/06/21 22:52:49 forward declare gfx::Rect and gfx::Size
dhollowa 2012/06/21 23:53:42 Done.
11
12 namespace chrome {
13 namespace search {
14
15 // Background color of the NTP.
16 extern const SkColor kNTPBackgroundColor;
17
18 // Color for the separator between results and the page.
19 extern const SkColor kResultsSeparatorColor;
20
21 // Background color for search results.
22 extern const SkColor kSearchBackgroundColor;
23
24 // Y-coordinate of the omnibox when over the page.
25 extern const int kOmniboxYPosition;
26
27 // Initial height of the search results.
28 extern const int kSearchResultsHeight;
29
30 // Get location of NTP omnibox in |web_contents_size|. A height of 0 is
31 // returned, it is platform-specific.
32 gfx::Rect GetNTPOmniboxBounds(const gfx::Size& web_contents_size);
33
34 } // namespace search
35 } // namespace chrome
36
37 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698