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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 1378583003: Unstrangle unhandled key event callback for webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed variable names and comments Created 5 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 RefPtrWillBeMember<Element> m_lastDeferredTapElement; 453 RefPtrWillBeMember<Element> m_lastDeferredTapElement;
454 454
455 // Only used with the ScrollCustomization runtime enabled feature. 455 // Only used with the ScrollCustomization runtime enabled feature.
456 WillBeHeapDeque<RefPtrWillBeMember<Element>> m_currentScrollChain; 456 WillBeHeapDeque<RefPtrWillBeMember<Element>> m_currentScrollChain;
457 // True iff some of the delta has been consumed for the current 457 // True iff some of the delta has been consumed for the current
458 // scroll sequence in this frame, or any child frames. Only used 458 // scroll sequence in this frame, or any child frames. Only used
459 // with ScrollCustomization. If some delta has been consumed, a 459 // with ScrollCustomization. If some delta has been consumed, a
460 // scroll which shouldn't propagate can't cause any element to 460 // scroll which shouldn't propagate can't cause any element to
461 // scroll other than the |m_previousGestureScrolledNode|. 461 // scroll other than the |m_previousGestureScrolledNode|.
462 bool m_deltaConsumedForScrollSequence; 462 bool m_deltaConsumedForScrollSequence;
463
464 // Make sure that we return consistent return value for key down / key press
465 // and key up events.
466 bool m_overrideNextKeyupEvent;
467 bool m_returnValueForNextKeyupEvent;
463 }; 468 };
464 469
465 } // namespace blink 470 } // namespace blink
466 471
467 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 472 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
468 473
469 #endif // EventHandler_h 474 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698