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

Unified Diff: ui/views/controls/webview/webview.h

Issue 1255783002: [Mac] Factor out keyboard shortcut handling from ChromeEventProcessingWindow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@execute
Patch Set: Separate CommandDispatcher and CommandDispatcherDelegate. Created 5 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: ui/views/controls/webview/webview.h
diff --git a/ui/views/controls/webview/webview.h b/ui/views/controls/webview/webview.h
index 8cdd29f7d950795769eaec7a4b8cc92d94c10b66..b64af3d58de311eadb1b792b5af145bea662b2b8 100644
--- a/ui/views/controls/webview/webview.h
+++ b/ui/views/controls/webview/webview.h
@@ -121,6 +121,9 @@ class WEBVIEW_EXPORT WebView : public View,
void RenderProcessHostDestroyed(content::RenderProcessHost* host) override;
// Overridden from content::WebContentsDelegate:
+ void HandleKeyboardEvent(
+ content::WebContents* source,
+ const content::NativeWebKeyboardEvent& event) override;
bool EmbedsFullscreenWidget() const override;
// Overridden from content::WebContentsObserver:

Powered by Google App Engine
This is Rietveld 408576698