Revert of Generalize and refactor DeviceSensorEvent* architecture to support...
Revert of Generalize and refactor DeviceSensorEvent* architecture to support multi-event type targets. (https://codereview.chromium.org/315573002/) Reason for revert: Triggers assert in fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html Original issue's description: > Generalize and refactor DeviceSensorEvent* architecture to support > multi-event type targets. > > This patch performs a significant refactoring of the > DeviceSensorEvent{Controller,Dispatcher} and related classes. > It provides new Base classes to allow simple implementation of > APIs involving multi-event type non-window targets (e.g. Battery > Status API). Additionally it makes the implementation of existing > event-based APIs (device_orientation, device_light) simpler and > more compact. > > In particular the following new classes have been added: > * DeviceEventControllerBase and DeviceEventDispatcherBase > (derived from by the Battery Status API). > * DeviceSingleWindowEventController is more specific and > contains functionality necessary for single-event type window > target APIs (used by Device Motion/Orientation and Device Light > APIs). > > BUG=122593, 360068 > NOTRY=true > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175661 TBR=ch.dumez@samsung.com,abarth@chromium.org,jochen@chromium.org,tkent@chromium.org,timvolodine@chromium.org NOTREECHECKS=true NOTRY=true BUG=122593, 360068 Review URL: https://codereview.chromium.org/315023006 git-svn-id: svn://svn.chromium.org/blink/trunk@175673 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment