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

Unified Diff: chrome/browser/ui/exclusive_access/exclusive_access_context.h

Issue 2089323002: Refactored FullscreenController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment and nits Created 4 years, 6 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/ui/exclusive_access/exclusive_access_context.h
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_context.h b/chrome/browser/ui/exclusive_access/exclusive_access_context.h
index 1974b10d85542d0a949d02dc80e61f51d6be3a05..60e6f155017a17a38d863374c0e13bb4c0b08390 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_context.h
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_context.h
@@ -29,11 +29,10 @@ class ExclusiveAccessContext {
// fullscreen.
virtual bool IsFullscreen() const = 0;
- // Shows or hides the tab strip, toolbar and bookmark bar with in browser
- // fullscreen.
- // Currently only supported on Mac.
- // TODO (spqchan): Deprecate this method. crbug.com/579259
- virtual void UpdateFullscreenWithToolbar(bool with_toolbar);
+ // Called when we transition between tab and browser fullscreen. This method
+ // updates the UI by showing/hiding the tab strip, toolbar and bookmark bar
+ // in the browser fullscreen. Currently only supported on Mac.
+ virtual void UpdateUIForTabFullscreen(bool is_tab_fullscreen);
// Updates the toolbar state to be hidden or shown in fullscreen according to
// the preference's state. Only supported on Mac.

Powered by Google App Engine
This is Rietveld 408576698