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

Unified Diff: ui/views/controls/button/custom_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
Index: ui/views/controls/button/custom_button.h
diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
index 161824c9869e35bbcdfbbadd62dd258d932d7a0f..0f7271a4d511bf0c3cfc140ef32fd1e85f060e31 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -109,7 +109,6 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
void OnDragDone() override;
void GetAccessibleState(ui::AXViewState* state) override;
void VisibilityChanged(View* starting_from, bool is_visible) override;
- std::unique_ptr<InkDropHighlight> CreateInkDropHighlight() const override;
SkColor GetInkDropBaseColor() const override;
// Overridden from gfx::AnimationDelegate:
@@ -140,9 +139,6 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
// we simply return IsTriggerableEvent(event).
virtual bool ShouldEnterPushedState(const ui::Event& event);
- // Returns true if highlight effect should be visible.
- virtual bool ShouldShowInkDropHighlight() const;
-
void set_has_ink_drop_action_on_click(bool has_ink_drop_action_on_click) {
has_ink_drop_action_on_click_ = has_ink_drop_action_on_click;
}

Powered by Google App Engine
This is Rietveld 408576698