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

Unified Diff: ash/touch/touch_ctm_controller.h

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move CTM update code into a separate file ash/touch/touch_ctm_controller.cc Created 6 years, 9 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
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_

Powered by Google App Engine
This is Rietveld 408576698