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

Unified Diff: content/browser/renderer_host/native_web_keyboard_event_aura.cc

Issue 235693002: Merge 260900 "linux_aura: Port GtkKeybindingsHandler to Aura." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 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/renderer_host/native_web_keyboard_event_aura.cc
===================================================================
--- content/browser/renderer_host/native_web_keyboard_event_aura.cc (revision 263301)
+++ content/browser/renderer_host/native_web_keyboard_event_aura.cc (working copy)
@@ -34,21 +34,24 @@
NativeWebKeyboardEvent::NativeWebKeyboardEvent()
: os_event(NULL),
- skip_in_browser(false) {
+ skip_in_browser(false),
+ match_edit_command(false) {
}
NativeWebKeyboardEvent::NativeWebKeyboardEvent(gfx::NativeEvent native_event)
: WebKeyboardEvent(MakeWebKeyboardEvent(
static_cast<ui::KeyEvent*>(native_event))),
os_event(CopyEvent(native_event)),
- skip_in_browser(false) {
+ skip_in_browser(false),
+ match_edit_command(false) {
}
NativeWebKeyboardEvent::NativeWebKeyboardEvent(
const NativeWebKeyboardEvent& other)
: WebKeyboardEvent(other),
os_event(CopyEvent(other.os_event)),
- skip_in_browser(other.skip_in_browser) {
+ skip_in_browser(other.skip_in_browser),
+ match_edit_command(false) {
}
NativeWebKeyboardEvent::NativeWebKeyboardEvent(
@@ -58,7 +61,8 @@
int state,
double time_stamp_seconds)
: os_event(NULL),
- skip_in_browser(false) {
+ skip_in_browser(false),
+ match_edit_command(false) {
switch (key_event_type) {
case ui::ET_KEY_PRESSED:
type = is_char ? blink::WebInputEvent::Char :
@@ -88,7 +92,7 @@
delete os_event;
os_event = CopyEvent(other.os_event);
skip_in_browser = other.skip_in_browser;
-
+ match_edit_command = other.match_edit_command;
return *this;
}
« no previous file with comments | « chrome/browser/ui/libgtk2ui/libgtk2ui.gyp ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698