|
|
Chromium Code Reviews
DescriptionRemove the touch ack timeout handler out of the legacy touch event queue.
This class needs to be re-used for the new touch event queue. So extract
the code out to a separate class (it was already an internal class) so
just move it into a separate file.
BUG=642368
TBR=clamy@chromium.org
Review-Url: https://codereview.chromium.org/2709813002
Cr-Commit-Position: refs/heads/master@{#452054}
Committed: https://chromium.googlesource.com/chromium/src/+/48fd5b949faacbd387904d9844283bfcf1fe837a
Patch Set 1 #Patch Set 2 : Remove the touch ack timeout handler out of the legacy touch event queue. #
Total comments: 9
Patch Set 3 : Fix nits #
Dependent Patchsets: Messages
Total messages: 36 (24 generated)
The CQ bit was checked by dtapuska@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...)
The CQ bit was checked by dtapuska@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 ========== to ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 ==========
dtapuska@chromium.org changed reviewers: + tdresser@chromium.org
LGTM, modulo some nits about requires / forward declarations. https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... File content/browser/renderer_host/input/legacy_touch_event_queue.h (right): https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/legacy_touch_event_queue.h:27: class TouchTimeoutHandler; Why are we forward declaring this? https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... File content/browser/renderer_host/input/touch_timeout_handler.h (right): https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:23: #include "ui/gfx/geometry/point_f.h" At least this include is unnecessary. Are there other unnecessary ones as well? https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:27: class TouchEventQueue; We're including this and forward declaring it currently. https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:46: private: DISALLOW_COPY_AND_ASSIGN?
https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... File content/browser/renderer_host/input/legacy_touch_event_queue.h (right): https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/legacy_touch_event_queue.h:27: class TouchTimeoutHandler; On 2017/02/21 18:16:31, tdresser wrote: > Why are we forward declaring this? Because there is an instance ptr in this class. https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... File content/browser/renderer_host/input/touch_timeout_handler.h (right): https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:23: #include "ui/gfx/geometry/point_f.h" On 2017/02/21 18:16:31, tdresser wrote: > At least this include is unnecessary. Are there other unnecessary ones as well? Done. https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:27: class TouchEventQueue; On 2017/02/21 18:16:31, tdresser wrote: > We're including this and forward declaring it currently. Done. https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/touch_timeout_handler.h:46: private: On 2017/02/21 18:16:31, tdresser wrote: > DISALLOW_COPY_AND_ASSIGN? Done.
https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... File content/browser/renderer_host/input/legacy_touch_event_queue.h (right): https://codereview.chromium.org/2709813002/diff/20001/content/browser/rendere... content/browser/renderer_host/input/legacy_touch_event_queue.h:27: class TouchTimeoutHandler; On 2017/02/21 18:26:47, dtapuska wrote: > On 2017/02/21 18:16:31, tdresser wrote: > > Why are we forward declaring this? > > Because there is an instance ptr in this class. Acknowledged.
dtapuska@chromium.org changed reviewers: + clamy@chromium.org
clamy@chromium.org: Please review changes in BUILD.gn
The CQ bit was checked by dtapuska@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Description was changed from ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 ========== to ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 TBR=clamy@chromium.org ==========
The CQ bit was checked by dtapuska@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tdresser@chromium.org Link to the patchset: https://codereview.chromium.org/2709813002/#ps40001 (title: "Fix nits")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by dtapuska@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by dtapuska@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1487773371102440,
"parent_rev": "62f93ee9df19a59eef6c36632fc0035bfd0f4247", "commit_rev":
"48fd5b949faacbd387904d9844283bfcf1fe837a"}
Message was sent while issue was closed.
Description was changed from ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 TBR=clamy@chromium.org ========== to ========== Remove the touch ack timeout handler out of the legacy touch event queue. This class needs to be re-used for the new touch event queue. So extract the code out to a separate class (it was already an internal class) so just move it into a separate file. BUG=642368 TBR=clamy@chromium.org Review-Url: https://codereview.chromium.org/2709813002 Cr-Commit-Position: refs/heads/master@{#452054} Committed: https://chromium.googlesource.com/chromium/src/+/48fd5b949faacbd387904d984428... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/48fd5b949faacbd387904d984428...
Message was sent while issue was closed.
GN change lgtm. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
