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

Unified Diff: ash/shelf/shelf_layout_manager.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: Don't let ChromeVox Classic run on panel 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/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 8b5d166a1ef5d03843d9b5612ba9635a008af453..478850c5014ebc8fa2b49b3b8b26dbe80fcd95fc 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -215,6 +215,10 @@ class ASH_EXPORT ShelfLayoutManager
// Is the shelf's alignment horizontal?
bool IsHorizontalAlignment() const;
+ // Set the height of the ChromeVox panel, which takes away space from the
+ // available work area from the top of the screen.
+ void SetChromeVoxPanelHeight(int height);
+
// Returns a ShelfLayoutManager on the display which has a shelf for
// given |window|. See RootWindowController::ForShelf for more info.
static ShelfLayoutManager* ForShelf(aura::Window* window);
@@ -412,6 +416,10 @@ class ASH_EXPORT ShelfLayoutManager
// keyboard.
gfx::Rect user_work_area_bounds_;
+ // The height of the ChromeVox panel at the top of the screen, which
+ // needs to be removed from the available work area.
+ int chromevox_panel_height_;
+
// The show hide animation duration override or 0 for default.
int duration_override_in_ms_;
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698