| 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 | 8 |
| 9 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const { | 9 bool ExclusiveAccessContext::SupportsFullscreenWithToolbar() const { |
| 10 return false; | 10 return false; |
| 11 } | 11 } |
| 12 | 12 |
| 13 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { | 13 void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) { |
| 14 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 15 } | 15 } |
| 16 | 16 |
| 17 void ExclusiveAccessContext::ToggleFullscreenToolbar() { |
| 18 NOTIMPLEMENTED(); |
| 19 } |
| 20 |
| 17 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 18 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { | 22 void ExclusiveAccessContext::SetMetroSnapMode(bool enable) { |
| 19 NOTIMPLEMENTED(); | 23 NOTIMPLEMENTED(); |
| 20 } | 24 } |
| 21 | 25 |
| 22 bool ExclusiveAccessContext::IsInMetroSnapMode() const { | 26 bool ExclusiveAccessContext::IsInMetroSnapMode() const { |
| 23 return false; | 27 return false; |
| 24 } | 28 } |
| 25 #endif // defined(OS_WIN) | 29 #endif // defined(OS_WIN) |
| 26 | 30 |
| 27 void ExclusiveAccessContext::UnhideDownloadShelf() { | 31 void ExclusiveAccessContext::UnhideDownloadShelf() { |
| 28 // NOOP implementation. | 32 // NOOP implementation. |
| 29 } | 33 } |
| 30 | 34 |
| 31 void ExclusiveAccessContext::HideDownloadShelf() { | 35 void ExclusiveAccessContext::HideDownloadShelf() { |
| 32 // NOOP implementation. | 36 // NOOP implementation. |
| 33 } | 37 } |
| OLD | NEW |