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

Unified Diff: chrome/browser/chromeos/accessibility/chromevox_panel.h

Issue 2889673002: chromeos: Refactor shelf to create ShelfView earlier in startup (Closed)
Patch Set: rebase Created 3 years, 7 months 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
Index: chrome/browser/chromeos/accessibility/chromevox_panel.h
diff --git a/chrome/browser/chromeos/accessibility/chromevox_panel.h b/chrome/browser/chromeos/accessibility/chromevox_panel.h
index 8748e37121e8f2b8fc758e6d5384d3fbc112e09f..46ac85767749fca2942a1e4237597529487dabdb 100644
--- a/chrome/browser/chromeos/accessibility/chromevox_panel.h
+++ b/chrome/browser/chromeos/accessibility/chromevox_panel.h
@@ -33,6 +33,7 @@ class ChromeVoxPanel : public views::WidgetDelegate,
void Close();
void DidFirstVisuallyNonEmptyPaint();
void UpdatePanelHeight();
+ void ResetPanelHeight();
void EnterFullscreen();
void ExitFullscreen();
void DisableSpokenFeedback();
@@ -54,6 +55,10 @@ class ChromeVoxPanel : public views::WidgetDelegate,
bool for_blocked_user_session() const { return for_blocked_user_session_; }
private:
+ // Sends the height of the ChromeVox panel, which takes away space from the
+ // available window manager work area at the top of the screen.
+ void SendPanelHeightToAsh(int panel_height);
+
views::Widget* widget_;
std::unique_ptr<ChromeVoxPanelWebContentsObserver> web_contents_observer_;
views::View* web_view_;

Powered by Google App Engine
This is Rietveld 408576698