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

Side by Side Diff: ash/ash_touch_exploration_manager_chromeos.h

Issue 2007863004: Fix the double-tap to click gesture in touch accessibility mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TODO for second display Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 5 #ifndef ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 6 #define ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void PlayExitScreenEarcon() override; 45 void PlayExitScreenEarcon() override;
46 void PlayEnterScreenEarcon() override; 46 void PlayEnterScreenEarcon() override;
47 void HandleAccessibilityGesture(ui::AXGesture gesture) override; 47 void HandleAccessibilityGesture(ui::AXGesture gesture) override;
48 48
49 // aura::client::ActivationChangeObserver overrides: 49 // aura::client::ActivationChangeObserver overrides:
50 void OnWindowActivated( 50 void OnWindowActivated(
51 aura::client::ActivationChangeObserver::ActivationReason reason, 51 aura::client::ActivationChangeObserver::ActivationReason reason,
52 aura::Window* gained_active, 52 aura::Window* gained_active,
53 aura::Window* lost_active) override; 53 aura::Window* lost_active) override;
54 54
55 // Update the touch exploration controller so that synthesized touch
56 // events are anchored at this point.
57 void SetTouchAccessibilityAnchorPoint(const gfx::Point& anchor_point);
58
55 private: 59 private:
56 void UpdateTouchExplorationState(); 60 void UpdateTouchExplorationState();
57 bool VolumeAdjustSoundEnabled(); 61 bool VolumeAdjustSoundEnabled();
58 62
59 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_; 63 std::unique_ptr<ui::TouchExplorationController> touch_exploration_controller_;
60 RootWindowController* root_window_controller_; 64 RootWindowController* root_window_controller_;
61 chromeos::CrasAudioHandler* audio_handler_; 65 chromeos::CrasAudioHandler* audio_handler_;
62 66
63 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager); 67 DISALLOW_COPY_AND_ASSIGN(AshTouchExplorationManager);
64 }; 68 };
65 69
66 } // namespace ash 70 } // namespace ash
67 71
68 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_ 72 #endif // ASH_TOUCH_EXPLORATION_MANAGER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/ash_touch_exploration_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698