Refactor partial screenshot region selector (2nd)
commit9cc85e7f6620abd70fe5518260985e26c0307961
authormukai <mukai@chromium.org>
Thu, 18 Dec 2014 03:40:39 +0000 (17 19:40 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 18 Dec 2014 03:40:59 +0000 (18 03:40 +0000)
treef73d62d68b908e9e51a24f844717c856e5941072
parentd1f925590d2ace289cf29cfb133f968961d3f330
Refactor partial screenshot region selector (2nd)

This is the reland of crrev.com/308508 which was reverted due
to a failure of valgrind bot.

Previously PartialScreenshotView is a view inside of a frameless
window, which is actually problematic because it needs to deal
with several window manager concepts such like mouse captures
and activations.

This is now built with ui::Layer and EventHandler, therefore
it makes no effects.

Also this CL moves the file location to a new directory
ash/utility, because this is nothing related to the window manager.

BUG=330348
R=oshima@chromium.org
TEST=the new test covers with valgrind bot

Review URL: https://codereview.chromium.org/813523002

Cr-Commit-Position: refs/heads/master@{#308942}
ash/accelerators/accelerator_controller.cc
ash/ash.gyp
ash/utility/partial_screenshot_controller.cc [new file with mode: 0644]
ash/utility/partial_screenshot_controller.h [new file with mode: 0644]
ash/utility/partial_screenshot_controller_unittest.cc [new file with mode: 0644]
ash/wm/overlay_event_filter.cc
ash/wm/partial_screenshot_view.cc [deleted file]
ash/wm/partial_screenshot_view.h [deleted file]
ash/wm/partial_screenshot_view_unittest.cc [deleted file]