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

Unified 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698