Index: chrome/browser/ui/views/omnibox/omnibox_result_view.h |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.h b/chrome/browser/ui/views/omnibox/omnibox_result_view.h |
index c5d5b7881696e7da047be5a45d7c0c806c5cf2e0..f0b8cb4a7e5413ffd897f1a9c810344618375ec8 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h |
@@ -47,7 +47,7 @@ class OmniboxResultView : public views::View, |
const gfx::Font& bold_font); |
virtual ~OmniboxResultView(); |
- static SkColor GetColor(ResultViewState state, ColorKind kind); |
+ SkColor GetColor(ResultViewState state, ColorKind kind) const; |
// Updates the match used to paint the contents of this result view. We copy |
// the match so that we can continue to paint the last result even after the |
@@ -98,6 +98,10 @@ class OmniboxResultView : public views::View, |
struct RunData; |
typedef std::vector<RunData> Runs; |
+ // Common initialization code of the colors returned by GetColors(). |
+ static void CommonInitColors(const ui::NativeTheme* theme, |
+ SkColor colors[][NUM_KINDS]); |
+ |
// Predicate functions for use when sorting the runs. |
static bool SortRunsLogically(const RunData& lhs, const RunData& rhs); |
static bool SortRunsVisually(const RunData& lhs, const RunData& rhs); |