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

Unified Diff: ash/shelf/shelf_view_unittest.cc

Issue 2720183002: [Views] Update ink drop for omnibox icons (Closed)
Patch Set: Removed CanProcessEventsWithinSubtree Created 3 years, 7 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 | « no previous file | chrome/browser/ui/views/browser_dialogs_views_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_view_unittest.cc
diff --git a/ash/shelf/shelf_view_unittest.cc b/ash/shelf/shelf_view_unittest.cc
index 016dded06ca146b75dc1952097035eeff2e94fdf..ea26540782415ada5f822211f534f4bccbbd8ea2 100644
--- a/ash/shelf/shelf_view_unittest.cc
+++ b/ash/shelf/shelf_view_unittest.cc
@@ -1998,6 +1998,18 @@ class InkDropSpy : public views::InkDrop {
ink_drop_->SetFocused(is_focused);
}
+ bool IsHighlightFadingInOrVisible() const override {
+ return ink_drop_->IsHighlightFadingInOrVisible();
+ }
+
+ void SetShowHighlightOnHover(bool show_highlight_on_hover) override {
+ ink_drop_->SetShowHighlightOnHover(show_highlight_on_hover);
+ }
+
+ void SetShowHighlightOnFocus(bool show_highlight_on_focus) override {
+ ink_drop_->SetShowHighlightOnFocus(show_highlight_on_focus);
+ }
+
std::unique_ptr<views::InkDrop> ink_drop_;
std::vector<views::InkDropState> requested_states_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/browser_dialogs_views_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698