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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm

Issue 2126103003: Change chrome:// favicons in tabstrip based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 years, 5 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
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/cocoa/download/background_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
index 2e1809a1ee683bafca4dc6e4cce64a928c619794..bdb05cd7329aa528b5402855eb48904ae7d93d8c 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
@@ -42,6 +42,7 @@
#include "ui/base/material_design/material_design_controller.h"
#include "ui/base/theme_provider.h"
#include "ui/events/test/cocoa_test_event_utils.h"
+#include "ui/gfx/color_utils.h"
#include "ui/gfx/image/image_skia.h"
using base::ASCIIToUTF16;
@@ -221,6 +222,7 @@ class FakeTheme : public ui::ThemeProvider {
bool UsingSystemTheme() const override { return true; }
gfx::ImageSkia* GetImageSkiaNamed(int id) const override { return NULL; }
SkColor GetColor(int id) const override { return SkColor(); }
+ color_utils::HSL GetTint(int id) const override { return color_utils::HSL(); }
int GetDisplayProperty(int id) const override { return -1; }
bool ShouldUseNativeFrame() const override { return false; }
bool HasCustomImage(int id) const override { return false; }
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/cocoa/download/background_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698