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

Unified Diff: ash/accessibility_delegate.h

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 hook to disable/close ChromeVox 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/default_accessibility_delegate.h » ('j') | ash/shelf/shelf_layout_manager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accessibility_delegate.h
diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h
index cb821c8ad0a4eb1025b9f4a4a3381a2d599a7a09..0e8b1f5b6bb7b3a84288975ad27eb993aed8b77d 100644
--- a/ash/accessibility_delegate.h
+++ b/ash/accessibility_delegate.h
@@ -8,6 +8,11 @@
#include "ash/ash_export.h"
#include "base/time/time.h"
#include "ui/chromeos/accessibility_types.h"
+#include "ui/gfx/geometry/insets.h"
oshima 2015/11/05 23:58:50 you can use forward decl for this too.
dmazzoni 2015/11/06 17:28:14 Done.
+
+namespace aura {
+class Window;
+}
namespace ash {
@@ -88,6 +93,10 @@ class ASH_EXPORT AccessibilityDelegate {
// Initiates play of shutdown sound and returns it's duration.
virtual base::TimeDelta PlayShutdownSound() const = 0;
+
+ // Get work area insets due to accessibility overlays on one of the
+ // screen edges, for the given root window.
+ virtual gfx::Insets GetWorkAreaInsets(aura::Window* root_window) const = 0;
oshima 2015/11/05 23:58:50 ComputeWorkAreaInsets (or ComputeIdealWorkareaInse
dmazzoni 2015/11/06 17:28:14 Done.
};
} // namespace ash
« no previous file with comments | « no previous file | ash/default_accessibility_delegate.h » ('j') | ash/shelf/shelf_layout_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698