blob: ee2e67539594db428a48d292c98ea91e2098af60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
#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;
}
void ExclusiveAccessContext::UpdateFullscreenWithToolbar(bool with_toolbar) {
NOTIMPLEMENTED();
}
void ExclusiveAccessContext::ToggleFullscreenToolbar() {
NOTIMPLEMENTED();
}
bool ExclusiveAccessContext::IsFullscreenWithToolbar() const {
return false;
}
#if defined(OS_WIN)
void ExclusiveAccessContext::SetMetroSnapMode(bool enable) {
NOTIMPLEMENTED();
}
bool ExclusiveAccessContext::IsInMetroSnapMode() const {
return false;
}
#endif // defined(OS_WIN)
|