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

Unified Diff: ui/message_center/views/padded_button.h

Issue 2729533002: Adjust behavior of control buttons of notifications. (Closed)
Patch Set: Add unimplemented method to TestContentViewDelegate Created 3 years, 10 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 | « ui/message_center/views/notification_view.cc ('k') | ui/message_center/views/padded_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/padded_button.h
diff --git a/ui/message_center/views/padded_button.h b/ui/message_center/views/padded_button.h
index 162457951d6eab7eb14722f128def68ca401d236..2d9c6b0a1d281916b13ed7e23699930de6b0a375 100644
--- a/ui/message_center/views/padded_button.h
+++ b/ui/message_center/views/padded_button.h
@@ -8,6 +8,8 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "ui/message_center/message_center_export.h"
+#include "ui/views/animation/ink_drop.h"
+#include "ui/views/animation/ink_drop_ripple.h"
#include "ui/views/controls/button/image_button.h"
namespace message_center {
@@ -22,7 +24,11 @@ namespace message_center {
class MESSAGE_CENTER_EXPORT PaddedButton : public views::ImageButton {
public:
PaddedButton(views::ButtonListener* listener);
- ~PaddedButton() override;
+ ~PaddedButton() override = default;
+
+ // Overridden from InkDropHostView
+ std::unique_ptr<views::InkDrop> CreateInkDrop() override;
+ std::unique_ptr<views::InkDropRipple> CreateInkDropRipple() const override;
private:
DISALLOW_COPY_AND_ASSIGN(PaddedButton);
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | ui/message_center/views/padded_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698