Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |