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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2775553002: Adds the ability for WebContentsDelegate to decide if event should be updated (Closed)
Patch Set: Fix compile Created 3 years, 9 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: content/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index ab1ed3226c564f6f525aab8f23cf76b4d9d727a2..32623f9aad6b2e742f4299d35386a193e0e26079 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -633,8 +633,8 @@ class CONTENT_EXPORT WebContentsImpl
void ScreenInfoChanged() override;
void UpdateDeviceScaleFactor(double device_scale_factor) override;
void GetScreenInfo(ScreenInfo* screen_info) override;
- bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
- bool* is_keyboard_shortcut) override;
+ KeyboardEventProcessingResult PreHandleKeyboardEvent(
+ const NativeWebKeyboardEvent& event) override;
void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) override;
bool HandleWheelEvent(const blink::WebMouseWheelEvent& event) override;
bool PreHandleGestureEvent(const blink::WebGestureEvent& event) override;

Powered by Google App Engine
This is Rietveld 408576698