| 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 |
| 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_ |
| OLD | NEW |