summaryrefslogtreecommitdiffstats
path: root/src/core/web_event_factory.h
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2017-10-03 13:14:58 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2017-11-03 13:15:21 +0000
commitef1d61a3516182b0a39330b5ac5988f92c82bc4f (patch)
tree59144953d5351ee018e275e0f85ec4a5c4868e00 /src/core/web_event_factory.h
parent7f7af6290a63bdab76855da5866881c8a53f045c (diff)
Pass editor shortcuts to Chromium by ForwardKeyboardEventWithCommands
Moreover, extend the list of supported editor shortcuts and stabilize the corresponding auto test. Task-number: QTBUG-54692 Task-number: QTBUG-54812 Task-number: QTBUG-54221 Task-number: QTBUG-59053 Change-Id: I4dd8230519639ea6e3340992dbb54a609ecfcd91 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/core/web_event_factory.h')
-rw-r--r--src/core/web_event_factory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/web_event_factory.h b/src/core/web_event_factory.h
index 5758af848..f4ce417cd 100644
--- a/src/core/web_event_factory.h
+++ b/src/core/web_event_factory.h
@@ -70,6 +70,7 @@ public:
static blink::WebMouseWheelEvent toWebWheelEvent(QWheelEvent*, double dpiScale);
static bool coalesceWebWheelEvent(blink::WebMouseWheelEvent &, QWheelEvent*, double dpiScale);
static content::NativeWebKeyboardEvent toWebKeyboardEvent(QKeyEvent*);
+ static bool getEditCommand(QKeyEvent *event, std::string *editCommand);
};