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

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

Issue 1650483002: Refactor: Untangle Mac's ExclusiveAccessContext from BrowserWindow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename accessor Created 4 years, 11 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.cc
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_context.cc b/chrome/browser/ui/exclusive_access/exclusive_access_context.cc
index 9a626ed6a6a3ce8a23d7bae1cd905baadb645d41..ee2e67539594db428a48d292c98ea91e2098af60 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_context.cc
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_context.cc
@@ -7,6 +7,9 @@
#include "base/logging.h"
#include "build/build_config.h"
+// This file provides default implementations for the ExclusiveAccessContext
+// methods that only some platforms care about.
+
bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const {
return false;
}
@@ -19,6 +22,10 @@ void ExclusiveAccessContext::ToggleFullscreenToolbar() {
NOTIMPLEMENTED();
}
+bool ExclusiveAccessContext::IsFullscreenWithToolbar() const {
+ return false;
+}
+
#if defined(OS_WIN)
void ExclusiveAccessContext::SetMetroSnapMode(bool enable) {
NOTIMPLEMENTED();
@@ -28,11 +35,3 @@ bool ExclusiveAccessContext::IsInMetroSnapMode() const {
return false;
}
#endif // defined(OS_WIN)
-
-void ExclusiveAccessContext::UnhideDownloadShelf() {
- // NOOP implementation.
-}
-
-void ExclusiveAccessContext::HideDownloadShelf() {
- // NOOP implementation.
-}

Powered by Google App Engine
This is Rietveld 408576698