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

Unified Diff: chrome/browser/ui/views/extensions/extension_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
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_view.h ('k') | chrome/browser/ui/views/find_bar_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_view.cc
===================================================================
--- chrome/browser/ui/views/extensions/extension_view.cc (revision 150588)
+++ chrome/browser/ui/views/extensions/extension_view.cc (working copy)
@@ -12,6 +12,7 @@
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_view.h"
+#include "ui/base/event.h"
#include "ui/views/widget/widget.h"
ExtensionView::ExtensionView(extensions::ExtensionHost* host, Browser* browser)
@@ -138,7 +139,7 @@
container_->OnExtensionSizeChanged(this);
}
-bool ExtensionView::SkipDefaultKeyEventProcessing(const views::KeyEvent& e) {
+bool ExtensionView::SkipDefaultKeyEventProcessing(const ui::KeyEvent& e) {
// Let the tab key event be processed by the renderer (instead of moving the
// focus to the next focusable view). Also handle Backspace, since otherwise
// (on Windows at least), pressing Backspace, when focus is on a text field
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_view.h ('k') | chrome/browser/ui/views/find_bar_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698