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

Unified Diff: ash/common/shelf/app_list_button.h

Issue 2447523002: [ash-md] Added different highlighting modes to the InkDropImpl. (Closed)
Patch Set: Fixed compile errors. Created 4 years, 1 month 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 | ash/common/shelf/app_list_button.cc » ('j') | ash/common/shelf/overflow_button.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/app_list_button.h
diff --git a/ash/common/shelf/app_list_button.h b/ash/common/shelf/app_list_button.h
index af0fdbd9d4192fd552694607b66fa31ae5b5ab5f..147f50beb553c45eb0ebe52e86b3a605064b53de 100644
--- a/ash/common/shelf/app_list_button.h
+++ b/ash/common/shelf/app_list_button.h
@@ -9,6 +9,10 @@
#include "base/macros.h"
#include "ui/views/controls/button/image_button.h"
+namespace views {
+class InkDrop;
+} // namespace views
+
namespace ash {
class InkDropButtonListener;
class ShelfView;
@@ -41,7 +45,7 @@ class ASH_EXPORT AppListButton : public views::ImageButton {
std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
void NotifyClick(const ui::Event& event) override;
bool ShouldEnterPushedState(const ui::Event& event) override;
- bool ShouldShowInkDropHighlight() const override;
+ std::unique_ptr<views::InkDrop> CreateInkDrop() override;
// ui::EventHandler overrides:
void OnGestureEvent(ui::GestureEvent* event) override;
« no previous file with comments | « no previous file | ash/common/shelf/app_list_button.cc » ('j') | ash/common/shelf/overflow_button.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698