| Index: ash/display/event_transformation_handler.cc
|
| diff --git a/ash/display/event_transformation_handler.cc b/ash/display/event_transformation_handler.cc
|
| index 2ea462a0e313c9aeaa79ff1351ba3ebb77f50f3a..4591a7ca8170644398de7252f78d894ca2550968 100644
|
| --- a/ash/display/event_transformation_handler.cc
|
| +++ b/ash/display/event_transformation_handler.cc
|
| @@ -17,7 +17,7 @@
|
| #include "ui/gfx/screen.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| -#include "ui/display/chromeos/output_configurator.h"
|
| +#include "ui/display/chromeos/display_configurator.h"
|
| #endif // defined(OS_CHROMEOS)
|
|
|
| namespace ash {
|
| @@ -59,18 +59,18 @@ void EventTransformationHandler::OnScrollEvent(ui::ScrollEvent* event) {
|
| // the sqrt of
|
| // (mirror_width * mirror_height) / (native_width * native_height)
|
| void EventTransformationHandler::OnTouchEvent(ui::TouchEvent* event) {
|
| - using ui::OutputConfigurator;
|
| - OutputConfigurator* output_configurator =
|
| - ash::Shell::GetInstance()->output_configurator();
|
| + using ui::DisplayConfigurator;
|
| + DisplayConfigurator* display_configurator =
|
| + ash::Shell::GetInstance()->display_configurator();
|
|
|
| - // Check output_configurator's output_state instead of checking
|
| + // Check display_configurator's output_state instead of checking
|
| // DisplayManager::IsMirrored() because the compositor based mirroring
|
| // won't cause the scaling issue.
|
| - if (output_configurator->output_state() != ui::OUTPUT_STATE_DUAL_MIRROR)
|
| + if (display_configurator->output_state() != ui::OUTPUT_STATE_DUAL_MIRROR)
|
| return;
|
|
|
| const std::map<int, float>& area_ratio_map =
|
| - output_configurator->GetMirroredDisplayAreaRatioMap();
|
| + display_configurator->GetMirroredDisplayAreaRatioMap();
|
|
|
| // TODO(miletus): When there are more than 1 touchscreen (e.g. Link connected
|
| // to an external touchscreen), the correct way to do is to have a way
|
|
|