Changeset 96430 in webkit
- Timestamp:
- Sep 30, 2011 3:00:33 PM (13 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r96412 r96430 1 2011-09-30 James Robinson <jamesr@chromium.org> 2 3 [chromium] Pass a processed bool in WebCompositorClient::didHandleInputEvent to indicate if the event was processed 4 https://bugs.webkit.org/show_bug.cgi?id=69169 5 6 Reviewed by Darin Fisher. 7 8 If the compositor does not process the input event the embedder might want to do something with it - for 9 example, if the input event type is part of a CTRL+T keyboard accelerator sequence the browser might want to 10 open a new tab. This passes that state through the didHandleInputEvent callback. 11 12 * public/WebCompositorClient.h: 13 * src/WebCompositorImpl.cpp: 14 (WebKit::WebCompositorImpl::handleInputEvent): 15 1 16 2011-09-30 Elliot Poger <epoger@google.com> 2 17 -
trunk/Source/WebKit/chromium/public/WebCompositorClient.h
r96392 r96430 33 33 // Callbacks invoked from the compositor thread. 34 34 virtual void willShutdown() = 0; 35 virtual void didHandleInputEvent( ) = 0;35 virtual void didHandleInputEvent(bool processed) = 0; 36 36 37 37 protected: -
trunk/Source/WebKit/chromium/src/WebCompositorImpl.cpp
r96392 r96430 61 61 { 62 62 // FIXME: Do something interesting with the event here. 63 m_client->didHandleInputEvent( );63 m_client->didHandleInputEvent(false); 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.