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

Unified Diff: chrome/browser/tab_contents/web_contents_view_mac.mm

Issue 40065: RenderWidgetHost now stores both the WebKeyboardEvent and the native (Closed)
Patch Set: Redesign Created 11 years, 10 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/tab_contents/web_contents_view_mac.mm
diff --git a/chrome/browser/tab_contents/web_contents_view_mac.mm b/chrome/browser/tab_contents/web_contents_view_mac.mm
index a382bca78c45497b4e7ea49055ce7e1ac71f9684..e9c7b8e5135827bccb1951a9f9ccff409225c1fd 100644
--- a/chrome/browser/tab_contents/web_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/web_contents_view_mac.mm
@@ -155,9 +155,10 @@ void WebContentsViewMac::TakeFocus(bool reverse) {
[cocoa_view_.get() becomeFirstResponder];
}
-void WebContentsViewMac::HandleKeyboardEvent(const WebKeyboardEvent& event) {
+void WebContentsViewMac::HandleKeyboardEvent(
+ const NativeWebKeyboardEvent& event) {
// The renderer returned a keyboard event it did not process. TODO(avi):
- // reconstruct an NSEvent and feed it to the view.
+ // Grab the NSEvent off |event| and feed it to the view.
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698