Chromium Code Reviews| Index: ash/accessibility_delegate.h |
| diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h |
| index cb821c8ad0a4eb1025b9f4a4a3381a2d599a7a09..d8f62c82e13a1d1247e8b09d630f9bbca4a7706b 100644 |
| --- a/ash/accessibility_delegate.h |
| +++ b/ash/accessibility_delegate.h |
| @@ -9,6 +9,14 @@ |
| #include "base/time/time.h" |
| #include "ui/chromeos/accessibility_types.h" |
| +namespace aura { |
| +class Window; |
| +} |
| + |
| +namespace gfx { |
| +class Insets; |
| +} |
| + |
| namespace ash { |
| // A delegate class to control and query accessibility features. |
| @@ -88,6 +96,11 @@ 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 void ComputeWorkAreaInsets(aura::Window* root_window, |
| + gfx::Insets* out_insets) const = 0; |
|
Jun Mukai
2015/11/06 18:21:04
Why this comes to an output parameter rather than
oshima
2015/11/06 18:21:15
just return gfx::Insets as gfx::Insets is small.
dmazzoni
2015/11/09 23:02:06
Done.
|
| }; |
| } // namespace ash |