| Index: chrome/browser/ui/views/location_bar/star_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/location_bar/star_view.cc (revision 150588)
|
| +++ chrome/browser/ui/views/location_bar/star_view.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "grit/generated_resources.h"
|
| #include "grit/theme_resources.h"
|
| #include "ui/base/accessibility/accessible_view_state.h"
|
| +#include "ui/base/event.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| @@ -69,7 +70,7 @@
|
| return ui::GESTURE_STATUS_UNKNOWN;
|
| }
|
|
|
| -bool StarView::OnKeyPressed(const views::KeyEvent& event) {
|
| +bool StarView::OnKeyPressed(const ui::KeyEvent& event) {
|
| if (event.key_code() == ui::VKEY_SPACE ||
|
| event.key_code() == ui::VKEY_RETURN) {
|
| command_updater_->ExecuteCommand(IDC_BOOKMARK_PAGE);
|
|
|