Refactor partial screenshot region selector.
commit9a0e3f0b67e057451570cfb254cbf76135d59768
authormukai <mukai@chromium.org>
Tue, 16 Dec 2014 02:34:12 +0000 (15 18:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Dec 2014 02:34:45 +0000 (16 02:34 +0000)
tree3089da4b2e0858a3e9cb8215719d01a2129cf788
parent2580cb922570cc0bc04114824fce491f338369fa
Refactor partial screenshot region selector.

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.

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

Cr-Commit-Position: refs/heads/master@{#308508}
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]