diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 19:58:29 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-04 19:58:29 +0000 |
commit | eab649b121dace28275e04d6d66e09cd0b7705dc (patch) | |
tree | dd1e01ed8eddd2a7231fe97c7a9dec4cd86482fe /chrome/browser/toolbar_model.h | |
parent | 6fee4dfc66709548f053aeb6e1e4f10482e514da (diff) | |
download | chromium_src-eab649b121dace28275e04d6d66e09cd0b7705dc.zip chromium_src-eab649b121dace28275e04d6d66e09cd0b7705dc.tar.gz chromium_src-eab649b121dace28275e04d6d66e09cd0b7705dc.tar.bz2 |
Use system themes where possible in Omnibox edit and dropdown; in other cases, provide a pair of colors and use whichever contrasts more with the relevant background color, to maintain readability.
BUG=92,18367
TEST=Use the omnibox on various non-default and high-contrast system themes. Observe that everything is always readable.
Review URL: http://codereview.chromium.org/200009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/toolbar_model.h')
-rw-r--r-- | chrome/browser/toolbar_model.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/toolbar_model.h b/chrome/browser/toolbar_model.h index 357f7d2..dbcea27 100644 --- a/chrome/browser/toolbar_model.h +++ b/chrome/browser/toolbar_model.h @@ -8,7 +8,6 @@ #include <string> #include "base/basictypes.h" -#include "third_party/skia/include/core/SkColor.h" class NavigationController; class NavigationEntry; @@ -57,10 +56,10 @@ class ToolbarModel { // Default value: NO_ICON. virtual Icon GetIcon(); - // Sets the text and color of the text displayed in the info bubble that - // appears when the user hovers the mouse over the icon. + // Sets the text displayed in the info bubble that appears when the user + // hovers the mouse over the icon. // Default value: empty string. - virtual void GetIconHoverText(std::wstring* text, SkColor* text_color); + virtual void GetIconHoverText(std::wstring* text); // Sets |text| to contain the text that should be displayed on the right of // the location bar, and |tooltip| to the tooltip text that should be shown |