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

Side by Side Diff: ash/default_accessibility_delegate.cc

Issue 1274563004: Show ChromeVox caption panel when spoken feedback is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chromevox_panel_html
Patch Set: Add SetDisplayWorkAreaInsetsForTesting for tests Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ash/default_accessibility_delegate.h" 5 #include "ash/default_accessibility_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "ui/gfx/geometry/insets.h"
10
9 namespace ash { 11 namespace ash {
10 12
11 DefaultAccessibilityDelegate::DefaultAccessibilityDelegate() 13 DefaultAccessibilityDelegate::DefaultAccessibilityDelegate()
12 : spoken_feedback_enabled_(false), 14 : spoken_feedback_enabled_(false),
13 high_contrast_enabled_(false), 15 high_contrast_enabled_(false),
14 screen_magnifier_enabled_(false), 16 screen_magnifier_enabled_(false),
15 screen_magnifier_type_(ui::kDefaultMagnifierType), 17 screen_magnifier_type_(ui::kDefaultMagnifierType),
16 large_cursor_enabled_(false), 18 large_cursor_enabled_(false),
17 autoclick_enabled_(false), 19 autoclick_enabled_(false),
18 virtual_keyboard_enabled_(false), 20 virtual_keyboard_enabled_(false),
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 return accessibility_alert_; 113 return accessibility_alert_;
112 } 114 }
113 115
114 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) { 116 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) {
115 } 117 }
116 118
117 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { 119 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const {
118 return base::TimeDelta(); 120 return base::TimeDelta();
119 } 121 }
120 122
123 void DefaultAccessibilityDelegate::ComputeWorkAreaInsets(
124 aura::Window* root_window,
125 gfx::Insets* out_insets) const {}
126
121 } // namespace ash 127 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698