| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" | 5 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 // This file provides default implementations for the ExclusiveAccessContext | 10 // This file provides default implementations for the ExclusiveAccessContext |
| 11 // methods that only some platforms care about. | 11 // methods that only some platforms care about. |
| 12 | 12 |
| 13 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const { | 13 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const { |
| 14 return false; | 14 return false; |
| 15 } | 15 } |
| 16 | 16 |
| 17 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { | 17 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { |
| 18 NOTIMPLEMENTED(); | 18 NOTIMPLEMENTED(); |
| 19 } | 19 } |
| 20 | 20 |
| 21 void ExclusiveAccessContext::ToggleFullscreenToolbar() { | 21 void ExclusiveAccessContext::UpdateFullscreenToolbar() { |
| 22 NOTIMPLEMENTED(); | 22 NOTIMPLEMENTED(); |
| 23 } | 23 } |
| 24 | 24 |
| 25 bool ExclusiveAccessContext::IsFullscreenWithToolbar() const { | 25 bool ExclusiveAccessContext::IsFullscreenWithToolbar() const { |
| 26 return false; | 26 return false; |
| 27 } | 27 } |
| 28 | 28 |
| 29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
| 30 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { | 30 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { |
| 31 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 bool ExclusiveAccessContext::IsInMetroSnapMode() const { | 34 bool ExclusiveAccessContext::IsInMetroSnapMode() const { |
| 35 return false; | 35 return false; |
| 36 } | 36 } |
| 37 #endif // defined(OS_WIN) | 37 #endif // defined(OS_WIN) |
| OLD | NEW |