| Index: chrome/browser/ui/views/toolbar/back_button.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/back_button.cc b/chrome/browser/ui/views/toolbar/back_button.cc
|
| index 54c6f2f988420906f69c52044461e5474815a742..73ae0411c64c06f374cbaab0be52536da6b57451 100644
|
| --- a/chrome/browser/ui/views/toolbar/back_button.cc
|
| +++ b/chrome/browser/ui/views/toolbar/back_button.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/views/toolbar/back_button.h"
|
|
|
| #include "ui/gfx/geometry/insets.h"
|
| +#include "ui/views/animation/ink_drop_animation_controller.h"
|
| #include "ui/views/controls/button/label_button_border.h"
|
| #include "ui/views/painter.h"
|
|
|
| @@ -31,6 +32,11 @@ void BackButton::SetLeadingMargin(int margin) {
|
| InvalidateLayout();
|
| }
|
|
|
| +void BackButton::LayoutInkDrop() {
|
| + ink_drop_animation_controller()->SetInkDropBounds(
|
| + gfx::Rect(margin_leading_, 0, width() - margin_leading_, height()));
|
| +}
|
| +
|
| const char* BackButton::GetClassName() const {
|
| return "BackButton";
|
| }
|
|
|