Chromium Code Reviews| Index: chrome/browser/ui/search/search_ui.h |
| diff --git a/chrome/browser/ui/search/search_ui.h b/chrome/browser/ui/search/search_ui.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4fd391a1eafce300a0737e40ac327e2a6e24cee7 |
| --- /dev/null |
| +++ b/chrome/browser/ui/search/search_ui.h |
| @@ -0,0 +1,37 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
| +#define CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |
| +#pragma once |
| + |
| +#include "third_party/skia/include/core/SkColor.h" |
| +#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.
|
| + |
| +namespace chrome { |
| +namespace search { |
| + |
| +// Background color of the NTP. |
| +extern const SkColor kNTPBackgroundColor; |
| + |
| +// Color for the separator between results and the page. |
| +extern const SkColor kResultsSeparatorColor; |
| + |
| +// Background color for search results. |
| +extern const SkColor kSearchBackgroundColor; |
| + |
| +// Y-coordinate of the omnibox when over the page. |
| +extern const int kOmniboxYPosition; |
| + |
| +// Initial height of the search results. |
| +extern const int kSearchResultsHeight; |
| + |
| +// Get location of NTP omnibox in |web_contents_size|. A height of 0 is |
| +// returned, it is platform-specific. |
| +gfx::Rect GetNTPOmniboxBounds(const gfx::Size& web_contents_size); |
| + |
| +} // namespace search |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_UI_SEARCH_SEARCH_UI_H_ |