| Index: chrome/browser/ui/views/collected_cookies_views.cc
|
| diff --git a/chrome/browser/ui/views/collected_cookies_views.cc b/chrome/browser/ui/views/collected_cookies_views.cc
|
| index fb76417d7b61ac2656e09052aa8bf25656fb851b..a4e90622cfdfaef9c09ee6a3a405e8f011786eaf 100644
|
| --- a/chrome/browser/ui/views/collected_cookies_views.cc
|
| +++ b/chrome/browser/ui/views/collected_cookies_views.cc
|
| @@ -37,7 +37,7 @@
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/gfx/color_utils.h"
|
| #include "ui/views/border.h"
|
| -#include "ui/views/controls/button/label_button.h"
|
| +#include "ui/views/controls/button/md_text_button.h"
|
| #include "ui/views/controls/image_view.h"
|
| #include "ui/views/controls/label.h"
|
| #include "ui/views/controls/scroll_view.h"
|
| @@ -342,13 +342,11 @@ views::View* CollectedCookiesViews::CreateAllowedPane() {
|
| allowed_cookies_tree_->set_auto_expand_children(true);
|
| allowed_cookies_tree_->SetController(this);
|
|
|
| - block_allowed_button_ = new views::LabelButton(this,
|
| + block_allowed_button_ = views::MdTextButton::CreateSecondaryUiButton(this,
|
| l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_BLOCK_BUTTON));
|
| - block_allowed_button_->SetStyle(views::Button::STYLE_BUTTON);
|
|
|
| - delete_allowed_button_ = new views::LabelButton(this,
|
| + delete_allowed_button_ = views::MdTextButton::CreateSecondaryUiButton(this,
|
| l10n_util::GetStringUTF16(IDS_COOKIES_REMOVE_LABEL));
|
| - delete_allowed_button_->SetStyle(views::Button::STYLE_BUTTON);
|
|
|
| // Create the view that holds all the controls together. This will be the
|
| // pane added to the tabbed pane.
|
| @@ -416,12 +414,11 @@ views::View* CollectedCookiesViews::CreateBlockedPane() {
|
| blocked_cookies_tree_->set_auto_expand_children(true);
|
| blocked_cookies_tree_->SetController(this);
|
|
|
| - allow_blocked_button_ = new views::LabelButton(this,
|
| - l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_ALLOW_BUTTON));
|
| - allow_blocked_button_->SetStyle(views::Button::STYLE_BUTTON);
|
| - for_session_blocked_button_ = new views::LabelButton(this,
|
| + allow_blocked_button_ = views::MdTextButton::CreateSecondaryUiButton(
|
| + this, l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_ALLOW_BUTTON));
|
| + for_session_blocked_button_ = views::MdTextButton::CreateSecondaryUiButton(
|
| + this,
|
| l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_SESSION_ONLY_BUTTON));
|
| - for_session_blocked_button_->SetStyle(views::Button::STYLE_BUTTON);
|
|
|
| // Create the view that holds all the controls together. This will be the
|
| // pane added to the tabbed pane.
|
|
|