| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index a37de8a5213311b147b0baffddc3d5117ff634b2..789fb08fcdb4850d9ee6380e19f952ad3c77d123 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -1074,6 +1074,15 @@ bool LocationBarView::GetBookmarkStarVisibility() {
|
| return star_view_->visible();
|
| }
|
|
|
| +bool LocationBarView::TestContentSettingImagePressed(size_t index) {
|
| + if (index >= content_setting_views_.size())
|
| + return false;
|
| +
|
| + content_setting_views_[index]->OnKeyPressed(
|
| + ui::KeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_SPACE, ui::EF_NONE));
|
| + return true;
|
| +}
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // LocationBarView, private views::View implementation:
|
|
|
|
|