Chromium Code Reviews| Index: ash/touch/touch_ctm_controller.h |
| diff --git a/ash/touch/touch_ctm_controller.h b/ash/touch/touch_ctm_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..79fc0dd59ec673414f5aa734cf3e228274f36274 |
| --- /dev/null |
| +++ b/ash/touch/touch_ctm_controller.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_TOUCH_TOUCH_CTM_CONTROLLER_HUD_H_ |
| +#define ASH_TOUCH_TOUCH_CTM_CONTROLLER_HUD_H_ |
| + |
| +#include "ash/ash_export.h" |
| +#include "ash/display/display_controller.h" |
| + |
| +namespace ash { |
| + |
| +class ASH_EXPORT TouchCTMController : public DisplayController::Observer { |
| +public: |
|
sadrul
2014/03/15 19:32:51
indent one space
Yufeng Shen (Slow to review)
2014/04/29 20:34:18
Done.
|
| + TouchCTMController(); |
| + virtual ~TouchCTMController(); |
| + |
| + // Updates the TouchCTM for touch device and pushes the new TouchCTM into |
| + // device manager. |
| + void UpdateTouchCTM(); |
| + |
| + // Overrides DisplayController::Observer: |
|
oshima
2014/03/14 21:53:53
just
// DisplayController::Obserer:
is new style
Yufeng Shen (Slow to review)
2014/04/29 20:34:18
Done.
|
| + virtual void OnDisplayConfigurationChanged() OVERRIDE; |
| + |
| +private: |
| + |
|
oshima
2014/03/14 21:53:53
nit: remove extra new line
Yufeng Shen (Slow to review)
2014/04/29 20:34:18
Done.
|
| + DISALLOW_COPY_AND_ASSIGN(TouchCTMController); |
| +}; |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_TOUCH_TOUCH_CTM_CONTROLLER_HUD_H_ |