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

Unified Diff: chrome/browser/ui/views/browser_action_view.cc

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
Index: chrome/browser/ui/views/browser_action_view.cc
===================================================================
--- chrome/browser/ui/views/browser_action_view.cc (revision 150588)
+++ chrome/browser/ui/views/browser_action_view.cc (working copy)
@@ -17,6 +17,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"
#include "ui/gfx/canvas.h"
@@ -300,7 +301,7 @@
TextButton::OnMouseExited(event);
}
-bool BrowserActionButton::OnKeyReleased(const views::KeyEvent& event) {
+bool BrowserActionButton::OnKeyReleased(const ui::KeyEvent& event) {
return IsPopup() ? MenuButton::OnKeyReleased(event)
: TextButton::OnKeyReleased(event);
}

Powered by Google App Engine
This is Rietveld 408576698