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

Unified Diff: trunk/src/ash/ash_touch_exploration_manager_chromeos.h

Issue 407073008: Revert 284819 because it introduces leaks in TestingBoundaries and (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | « trunk/src/ash/ash.gyp ('k') | trunk/src/ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/ash_touch_exploration_manager_chromeos.h
===================================================================
--- trunk/src/ash/ash_touch_exploration_manager_chromeos.h (revision 284848)
+++ trunk/src/ash/ash_touch_exploration_manager_chromeos.h (working copy)
@@ -1,52 +0,0 @@
-// Copyright 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_EXPLORATION_MANAGER_CHROMEOS_H_
-#define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
-
-#include "ash/ash_export.h"
-#include "ash/system/tray_accessibility.h"
-#include "ui/chromeos/touch_exploration_controller.h"
-
-namespace chromeos {
-class CrasAudioHandler;
-}
-
-namespace ash {
-class RootWindowController;
-
-// Responsible for initializing TouchExplorationController when spoken
-// feedback is on for ChromeOS only. This class implements
-// TouchExplorationControllerDelegate which allows touch gestures to manipulate
-// the system.
-class ASH_EXPORT AshTouchExplorationManager
- : public ash::AccessibilityObserver,
- public ui::TouchExplorationControllerDelegate {
- public:
- explicit AshTouchExplorationManager(
- RootWindowController* root_window_controller);
- virtual ~AshTouchExplorationManager();
-
- // AccessibilityObserver overrides:
- virtual void OnAccessibilityModeChanged(
- AccessibilityNotificationVisibility notify) OVERRIDE;
-
- // TouchExplorationControllerDelegate overrides:
- virtual void PlayVolumeAdjustSound() OVERRIDE;
- virtual void SetOutputLevel(int volume) OVERRIDE;
-
- private:
- void UpdateTouchExplorationState();
- bool VolumeAdjustSoundEnabled();
-
- scoped_ptr<ui::TouchExplorationController> touch_exploration_controller_;
- RootWindowController* root_window_controller_;
- chromeos::CrasAudioHandler* audio_handler_;
-
- DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager);
-};
-
-} // namespace ash
-
-#endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
« no previous file with comments | « trunk/src/ash/ash.gyp ('k') | trunk/src/ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698