diff options
Diffstat (limited to 'Source/WebKit/gtk/webkit')
-rw-r--r-- | Source/WebKit/gtk/webkit/webkitdownload.cpp | 3 | ||||
-rw-r--r-- | Source/WebKit/gtk/webkit/webkitwebview.cpp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Source/WebKit/gtk/webkit/webkitdownload.cpp b/Source/WebKit/gtk/webkit/webkitdownload.cpp index 60b8e6d..a7890c1 100644 --- a/Source/WebKit/gtk/webkit/webkitdownload.cpp +++ b/Source/WebKit/gtk/webkit/webkitdownload.cpp @@ -57,7 +57,8 @@ using namespace WebCore; * out what is to be downloaded, and do it itself. */ -class DownloadClient : public Noncopyable, public ResourceHandleClient { +class DownloadClient : public ResourceHandleClient { + WTF_MAKE_NONCOPYABLE(DownloadClient); public: DownloadClient(WebKitDownload*); diff --git a/Source/WebKit/gtk/webkit/webkitwebview.cpp b/Source/WebKit/gtk/webkit/webkitwebview.cpp index e5d5b84..c855507 100644 --- a/Source/WebKit/gtk/webkit/webkitwebview.cpp +++ b/Source/WebKit/gtk/webkit/webkitwebview.cpp @@ -790,6 +790,9 @@ static gboolean webkit_web_view_key_release_event(GtkWidget* widget, GdkEventKey if (!frame->view()) return FALSE; + if (event->keyval == GDK_Caps_Lock) + frame->eventHandler()->capsLockStateMayHaveChanged(); + PlatformKeyboardEvent keyboardEvent(event); if (frame->eventHandler()->keyEvent(keyboardEvent)) return TRUE; |