Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2337)

Unified Diff: ash/display/event_transformation_handler.cc

Issue 226183004: Renamed OutputConfigurator to DisplayConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_manager.cc ('k') | ash/display/output_configurator_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/display/display_manager.cc ('k') | ash/display/output_configurator_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698