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 |